A ggplot2 Primer

R has become one of the world’s leading languages for statistical and data analysis. While the base R installation does support simple visualizations, its plots are rarely of high-enough quality for publication. Enter Hadley Wickam’s ggplot2, an aesthetically and logical approach to data visualization. In this short report, we introduce its graphic grammar elements, and present a number of examples.

Data Science Report Series #5: A ggplot2 Primer, by Ehssan Ghashim and Patrick Boily.