Is there way to add a call back based on a click event from scatter map box?

My dashboard has a scatter map box graph and a time series chart.
I wanted to add a click event to the scatter map box plots and need to update another time series chart based on the input obtained from click event… is there a way to do it in dash ?

If you want to catch click anywhere on scatter map box, you can wrap it in html.Div, and catch clicks on that html.Div.

If you want to catch clicks on specific data on scatter map box, take a look at ‘Graph Crossfiltering’ section in https://plot.ly/dash/getting-started-part-2

1 Like

Hi!Can you explain how to catch click anywhere on scatter map box.
Thanks

Try this link and go to the Button section. https://dash.plot.ly/dash-core-components/