Summary
In this chapter, we learned how to create visualizations that respond to the selection of specific strata in a dataset. For illustration purposes, we used the Happy Planet Index
dataset of 140
countries, creating a variety of plots with stratification based on the different regions to which countries belonged. We generated scatter plots, bar plots, and heatmaps with interactive features such as zooming in and out, tool tipping, the selection of datapoints in a user-specified interval, and the selection of datapoints belonging to specific strata. We also generated more complex visualizations with multiple plots interlinked with each other that dynamically respond to user inputs. In the next chapter, we will learn how to create interactive visualizations of data across time.Â