Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Access actual marker DOM objects

Is there a way to access the actual DOM ids for markers? I’d like to be able to add events to them more directly than in the .on('plotly_event', function...) methods. Also, I’d like the hover popups to be actual HTML elements so I have more control over content and style.

I wouldn’t recommend doing that. In fact, you would need some pretty heavy trickery to even get events on our svg nodes working.

This example https://plot.ly/javascript/hover-events/#coupled-hover-events-on-single-plot should help get started.