Chapter 2 Plotting with ggplot2
graphics
Being able to create visualizations (graphical representations) of data is a key step in being able to communicate information and findings to others. In this module you will learn to use the ggplot2
library to declaratively make beautiful plots or charts of your data. Although R does provide built-in plotting functions, the ggplot2
library implements the Grammar of Graphics. This makes it particularly effective for describing how visualizations should represent data, and has turned it into the preeminent plotting library in R. Learning this library will allow you to make nearly any kind of (static) data visualization, customized to your exact specifications.