I am working on creating the Streamlit dashboard. I was able to filter the data based on the single filters.
However I want to have cross filters. For example. I have a customer dashboard.
I want to filter it based on the gender, location etc… at the same time based on the requirement.
If user only wants to filter on the gender, user will click on gender’s male bar, other graphs will return the data only related to male users. Along with that if user wants to filter by location, user will click on the location in that case other graphs will show the data only related to that location.
This kind of cross-filtering is possible with Streamlit?
Thanks, Charly, for the quick update and special thanks for the demo.
However, I want a little bit different.
On the click bar, I want to perform this operation. For example, in the demo if the dark blue bar indicates male then on the click of that I want to show the records.
I don’t want this separate filter like you have shown on the top.
Thanks, Charly, for all the help and code snippets provided.
I have one more question based on the solutions provided for the Interaction and Tornado implementation. In both the use cases, we are using a plotly.
As you may already know Ploty is already connected with Dash, they are from the same group.
Do you have any comparisons or use cases where Streamlit will be more useful over Dash?
As per my knowledge, Dash also provides similar features that Streamlit provides.
You’re welcome, @AdiH! I’m glad to hear that you found this useful!
When it comes to choosing between Dash and Streamlit, I would recommend trying out both to formulate your own opinion. I have to admit, my experience with Dash is pretty limited, so I don’t feel equipped to offer a comprehensive review. That said, it’s definitely a renowned framework and worth exploring.