Adding Histograms and Tables to the App

Learn how to add histograms and DataTables to a Dash application.

We'll cover the following

We’ll now see how to incorporate some interactivity with tables and add this to our app. We’ll also use this as an opportunity to demonstrate a few other options available to the DataTable component.

Incorporating table functionality

We’re now ready to incorporate the table functionality into our app and add it to the callback function that we already created. What we’ll do is display the data that is used to generate the histograms right under the histogram figure. Since the histograms don’t show data points as we discussed (only aggregates), it might be interesting for users to see for themselves, if they wish.

Let’s add this functionality right away.

Get hands-on with 1200+ tech skills courses.