I’m new to dash and I’m trying to find a way to create a dashboard where most of the graphs are used as filters for the whole dashboard, so each graph is an Input for itself and the rest of the graphs and an Output when other filter is used. I’ve followed the Dash tutorial so I know the basics about interactivity, callbacks, etc.
e.g. I could have:
- Dropdown to choose location --> df changes for all the graphs when location is chosen
- Barchart with type of product (count of products) --> When the user click on one of the bars, filter by that type of product and apply the new df to the whole dashboard
- Piechart with product supplier (count of products) --> When the user click on one of the slices, filter by that product supplier apply the new df to the whole dashboard.
- Table that updates with the filtered df, ideally user could filter the table as well, I know that’s in experimentation.
I’ll have about 10 graphs per dashboard. Is that possible? What is the best way to structure the code to manage all the filters?