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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.