Dynamic Binning

Hello All,

I retired in 2022. Throughout my career, I’ve developed user interfaces for data visualization. I’d like to contribute a few ideas from past projects that may help others.

This notebook implements dynamic binning. For categorical data, it provides an interactive “Other” bin to combine the smaller categories.


Binning is a problem that doesn’t have one right answer. So, it’s best to let the users explore. With modern technology, we can enable them.

Thanks for your comments and suggestions!



I’ve seen dynamic binning for histograms before, but dynamic binning of categorical data with a reactive “Other” category is a new idea to me and very cool.

Thank you! I have not previously seen dynamic categorical binning either. It seems like it must have been done, though; it’s useful in so many data sets.