ggplot2: Elegant Graphics for Data Analysis

by Hadley Wickham

Use R! (Springer)

On This Page

Description

This new edition to the classic book by ggplot2 creator Hadley Wickham highlights compatibility with knitr and RStudio. ggplot2 is a data visualization package for R that helps users create data graphics, including those that are multi-layered, with ease. With ggplot2, it's easy to: * produce handsome, publication-quality plots with automatic legends created from the plot specification * superimpose multiple layers (points, lines, maps, tiles, box plots) from different data sources with show more automatically adjusted common scales * add customizable smoothers that use powerful modeling capabilities of R, such as loess, linear models, generalized additive models, and robust regression * save any ggplot2 plot (or part thereof) for later modification or reuse * create custom themes that capture in-house or journal style requirements and that can easily be applied to multiple plots * approach a 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 data in an informative and attractive way. Some basic knowledge of R is necessary (e.g., importing data into R). 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, and you'll find it easy to get graphics out of your head and on to the screen or page. show less

Tags

Recommendations

Member Recommendations

Member Reviews

5 reviews
Having a "grammar of graphics" is such a useful and appealing concept. After years of hacking at the inconsistencies between various versions of the industry's dominant tool, I was quickly drawn to ggplot2. This guide by the package's creator is necessary and sufficient. The concepts are concise but thorough. Wickham often includes external examples to push the reader's thinking about what makes for an effective visualization. Working my way through the theory and the practice examples quickly accelerated my skills. More importantly, it's given me a framework for thinking about visualization in general.
This is another book that applies to one of my nascent passions: Statistical programming with R. This book brings forth the central visualization package in ggplot by its author Hadley Wickham. Like most of Hadley's works, the book is meticulously researched and extremely clear. It is a winner in accomplishing its goals of introducing visualization in R. It even contains a short section on modeling in R.


For those who don't know what R is, it is a statistical programming language. It helps statisticians (or programmers like myself) do statistical work efficiently. Hadley is a strong exponent in the community, and this work tells advanced users of R how to do visualization work. It is not meant as an introduction to R (i.e., R for show more beginners), but as a follow-up book, much like two of Hadley's other works, Advanced R or R Packages.

Hadley uses Leland Wilkinson's The Grammar of Graphics to dissect how graphing works. Data is abstracted from an aesthetic mapping which controls how the data is communicated (e.g., through bar graphs, line graphs, pie graphs). Then these are combined together to give the programmer more control of the graph.

By existing within a programming language (R), this method gives the programmer/user much more control over the final product. Thus, high quality visualizations become a reality with ggplot. Unfortunately, one has to spend time reading a book in order to learn how to do that, but that is a small price to pay for enhanced quality and control. This book is worth the time.
show less
ggplot2 is a really fun R package to use and it produces awesome results BUT this book is not for R beginners. It requires a general sense of the R syntax and grammar. But with a little R knowledge, and this book in hand, it is easy to quickly produce nice plots.
Like most programming books, one doesn't just read them cover to cover and then put them on a shelf. They are meant as references to have handy when needed. I recommend using this book in conjunction with Winston Chang's R Graphics cookbook.
I only include this to compete with Al. The book is just ok, but ggplot2 is very sweet. [Check out R Graphics Cookbook by Winston Chang. It is mostly ggplot2 and I find it (and its website) a much better how to do it source than Hadley Wickhams's book - especially since ggplot2 was revised so that themes are so important. Note added 2-5-13.]

Members

Recently Added By

Author Information

Picture of author.
6+ Works 529 Members
Hadley Wickham is Chief Scientist at RStudio, an Adjunct Professor at Stanford University and the University of Auckland, and a member of the R Foundation. He is the lead developer of the tidyverse, a collection of R packages, including ggplot2 and dplyr, designed to support data science. He is also the author of R for Data Science (with Garrett show more Grolemund), R Packages, and ggpiot2: Elegant Graphics for Data Analysis. show less

Series

Common Knowledge

Canonical title
ggplot2: Elegant Graphics for Data Analysis
Original language*
Englisch
*Some information comes from Common Knowledge in other languages. Click "Edit" for more information.

Classifications

Genres
Nonfiction, Technology, General Nonfiction
DDC/MDS
001.4Computer science, information & general worksComputer science, knowledge & systemsKnowledge and learning in generalResearch; Evaluation research, works discussing what research is
LCC
QA90 .W53ScienceMathematicsMathematicsInstruments and machines
BISAC

Statistics

Members
159
Popularity
205,863
Reviews
4
Rating
(4.08)
Languages
English, Korean
Media
Paper, Ebook
ISBNs
5
ASINs
3