✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Plotly.js with Dash using visdcc

Hello,

I was wondering if it’s possible to force a hover event in dash graphs.

I’m creating an application which plots a dcc.graph with many scatter subplots. When any point is hovered, I need all points with the same X coordinate in other subplots to be hovered too.

I found a solution using plotly.js, but I’m not sure if is possible to use it in Dash applications. I’m trying to load my JS code with visdcc, but it’s not working.

This the code I found to solve it, in JS:

Code pen