✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Markers on map as a button?

I was wondering if anyone knew if this has been implemented or is even possible. I have several locations I am mapping using a scattermapbox, and would like to know if it is possible to have a feature where when the marker is clicked (Like a button) it will change a graph or table displayed elsewhere to show the data corresponding to the marker.

yes, see the clickData property. this is documented in the interactive visualization chapter in the docs.

Awesome thank you. I have some trouble searching the documentation some times because I do not know the correct terminology. Thanks again!