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!