Adding Interactivity to Histograms

Learn how to add interactivity to histograms in Dash applications.

Final goal

We can allow users to get a better idea about the distribution of a certain indicator in a certain year or more. The difference is that we want to allow them to customize the number of bins. Since we’re now comfortable with handling multiple inputs and outputs, let’s also add some more options for our users. We can also allow users to select multiple years and display multiple years on multiple subplots using faceting. The illustration below shows what we will be working toward to make it clear:

Get hands-on with 1400+ tech skills courses.