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 Hover events in JavaScript should help get started.