streamlit
streamlit copied to clipboard
Histogram slider
Problem
A user interacting with a slider might be interested in the distribution of the values in order to more appropriately filter relevant data. As far as I am aware, this is not yet possible.
Solution
MVP: Use a histogram to show the distribution of each step/bin.
Possible additions: Move the range bar sideways, coloring steps/bins inside of the range.
Additional context
For inspiration, it could look something like the vue-histogram-slider:
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
Thanks for sharing this suggestion, @e-tornike!
This looks super cool! I think it's unlikely we'll build that in the near future but it would make for a great custom component. There is a template from @andfanilo on making custom components with Vue, see here, so maybe you could literally just wrap the slider you linked in that?
+1 Would be very useful!
+1 would be very useful
+1 bump, this would be very useful. Additionally. I guess return information about what percentage of the counts are in filter vs out filter
+1 This would be awesome.
+1 Would love it
- 1