Chapter 8 Graphics
It’s hard to succinctly describe how ggplot2 works because it embodies a deep philosophy of visualisation.—Hadley Wickham (creator of ggplot2)
Now that we know a bit about how data can be stored and manipulated in data frames, we can begin to analyze data, so in this Chapter we will take a closer look at the aspect of data analysis known as data visialization. We’ll become acquainted with the grammar of graphics, a general approach to visualization, and then learn how this approach is implemented in the ggplot2 with which we have worked previously. Finally, we’ll engage in a case study.