16Creating Visualizations with
The ability to create visualizations (graphical representations) of data is a key step in being able to communicate information and findings to others. In this chapter, you will learn to use the
ggplot21 package to declaratively make beautiful visual representations of your data.
R does provide built-in plotting functions, the
ggplot2 package is built on the premise of the Grammar of Graphics (similar to how
dplyr implements a Grammar of Data Manipulation; indeed, both packages were originally developed by the same person). This makes the package particularly effective for describing how visualizations should represent data, and has turned it into the preeminent ...