ggplot2: Elegant Graphics for Data Analysis

  • Valero-Mora P
Citations of this article
Mendeley users who have this article in their library.


This book describes ggplot2, a new data visualization package for R that uses the insights from Leland Wilkison's Grammar of Graphics to create a powerful and flexible system for creating data graphics. With ggplot2, it's easy to:produce handsome, publication-quality plots, with automatic legends created from the plot specificationsuperpose multiple layers (points, lines, maps, tiles, box plots to name a few) from different data sources, with automatically adjusted common scalesadd customisable smoothers that use the powerful modelling capabilities of R, such as loess, linear models, generalised additive models and robust regressionsave any ggplot2 plot (or part thereof) for later modification or reusecreate custom themes that capture in-house or journal style requirements, and that can easily be applied to multiple plotsapproach your graph from a visual perspective, thinking about how each component of the data is represented on the final plot.This book will be useful to everyone who has struggled with displaying their data in an informative and attractive way. You will need some basic knowledge of R (i.e. you should be able to get your data into R), but ggplot2 is a mini-language specifically tailored for producing graphics, and you'll learn everything you need in the book. After reading this book you'll be able to produce graphics customized precisely for your problems, to and you'll find it easy to get graphics out of your head and on to the screen or page.




Valero-Mora, P. M. (2015). ggplot2: Elegant Graphics for Data Analysis . Journal of Statistical Software, 35(Book Review 1).

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free