Summary
In this chapter, we learned how to use StatsPlots
, the library for drawing statistical plots in the Plots
ecosystem. First, we learned how to visualize univariate and bivariate distributions using StatsPlots
, Gadfly
, and AlgebraOfGraphics
. Then, we explored the basic statistical plots that we can combine to display joint and marginal distributions. Finally, we learned how StatsPlots
can compare distributions across groups and visualize clustering results. What you’ve learned in this chapter, combined with the knowledge you acquired in Chapter 1, An Introduction to Julia for Data Visualization and Analysis, and Chapter 5, Introducing the Grammar of Graphics, will enable you to make the most of Julia for visualizing and exploring tabular data. In the next chapter, we will learn about the visualization of another data layout: graphs.