Use selected countries from a map as inputs

Hi guys!

I’m new in Plotly. I have a choropleth map and I would like to use it as a “filter”. I mean, I want to add a click event or a function which updates the other graphs including only the selected countries in the map. Thus I need to can select several countries from a map and send them as inputs of a callback.

Does anyone know how can I do it?


1 Like

Any Answer on this. I am new to Dash. I want exactly the same requirement but not able to achieve. Please help me to continue my Dash learning.

Try listening to the hoverData or clickData or selectedData property of the chart as per