Summary
In this chapter, we presented three different types of visualization using geographical data choropleth maps, scatter plots and bubble plots on geographical maps, and line plots on geographical maps. Choropleth maps present aggregate statistics across different regions on geographical maps. Scatter plots are effective at indicating details regarding specific locations of interest, whereas bubble plots are useful for presenting count data per region on a map. Line plots are helpful in visualizing the routes of transportation systems, for instance.
These plots can easily be generated using the plotly
express
and graph_objects
modules. Animation can be performed with respect to a discrete numeric feature in a dataset.
In the next chapter, we'll look at a few common pitfalls faced while creating visualizations and how to avoid them. Along with that, we'll also look at a cheat sheet for generating interactive visualizations.