Summary
In this chapter, we first learned about the main difference between histograms and the other types of charts we have covered so far. We saw how easy it is to create them, and more importantly, we saw how customizable they can be with bins, barmode
, colors, and facets. We then explored how to add interactivity to histograms by connecting them to other components with a callback function.
We then explored the 2D histogram and saw how it can provide an even richer view of two columns visualized against each other.
We introduced a new interactive component, the DataTable. We barely scratched the surface of what can be done with tables. We used them to make it easier for users to obtain, interact with, or simply view the raw data behind our histograms. We also explored the different ways to control the look and feel of our tables.
Finally, we incorporated the table functionality with the callback function we created and added the interactivity to our app.
Let's...