I’m new on this forum so forgive me if I ask something on a wrong way.
I’m using Python and I’'ve built a dashboard where I have two horizontal barplots on the left and a choropleth map on the right. Each bar displays some information about a certain country.
Below them I have a slider that updates all the graphs according to the year selected.
I just have one callback with multiple inputs and outputs. One Output for each one of the 3 graphs and one Input to the slider and another to the bar hoverData (I couldn’t make it work with just one of the barplots hoverData yet, so I din’t even include another Input for the second barplot yet either).
What I’m trying to do is an interaction between the barplots and the choropleth where the map’s selectedData is updated as I hover over the corresponding country’s barplot’s bar, and as I hover out of any bar the map’s selectedData is reset.
Do I have to make multiple callbacks? Do I have to use some sort of Satate there? I’m kind of new on this dashboard building world, could you give me some enlightenment of the path I have to go to do this?