The previous chapter introduced some basic features of plotting in R. This section will introduce the
ggplot2 is based on concepts from Leland Wilkinson's The Grammar of Graphics, a classic in the data visualization field. The goal of this book was to provide an underlying theory of graphical data display. The framework provided aims to provide a unified viewpoint in which various tools (scatter plots, bar charts, pie charts, and so on) can all be viewed as special cases of a more general concept of graphical data presentation.
Installing ggplot2 and pandas
ggplot2 is an ...