Usage It’s hard to succinctly describe how ggplot2 works because it embodies a deep philosophy of visualisation. However, in most cases you start with ggplot(), supply a dataset and aesthetic mapping (with aes()). You then add on layers (like geom_point() or geom_histogram()), scales (like scale_colour_brewer()), faceting specifications (like facet_wrap()) and coordinate systems (like coord_flip()
![Create Elegant Data Visualisations Using the Grammar of Graphics • ggplot2](https://cdn-ak-scissors.b.st-hatena.com/image/square/2184e544027d6971a4b7055942e4601182f9f6d1/height=288;version=1;width=512/https%3A%2F%2Fggplot2.tidyverse.org%2Flogo.png)