Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
ggplot2: Elegant Graphics for Data Analysis (Use R!) 1st ed. 2009. Corr. 3rd printing 2010 Edition
There is a newer edition of this item:
Provides both rich theory and powerful applications
Figures are accompanied by code required to produce them
Full color figures
- ISBN-100387981403
- ISBN-13978-0387981406
- Edition1st ed. 2009. Corr. 3rd printing 2010
- PublisherSpringer
- Publication dateFebruary 22, 2010
- LanguageEnglish
- Dimensions6.5 x 0.5 x 9.75 inches
- Print length213 pages
Similar items that may deliver to you quickly
Editorial Reviews
From the Back Cover
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 specification
- superpose multiple layers (points, lines, maps, tiles, box plots to name a few) from different data sources, with automatically adjusted common scales
- add customisable smoothers that use the powerful modelling capabilities of R, such as loess, linear models, generalised 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 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, and you'll find it easy to get graphics out of your head and on to the screen or page.
Hadley Wickham is an Assistant Professor of Statistics at Rice University, and is interested in developing computational and cognitive tools for making data preparation, visualization, and analysis easier. He has developed 15 R packages and in 2006 he won the John Chambers Award for Statistical Computing for his work on the ggplot and reshape R packages.
Product details
- Publisher : Springer; 1st ed. 2009. Corr. 3rd printing 2010 edition (February 22, 2010)
- Language : English
- Paperback : 213 pages
- ISBN-10 : 0387981403
- ISBN-13 : 978-0387981406
- Item Weight : 14.4 ounces
- Dimensions : 6.5 x 0.5 x 9.75 inches
- Best Sellers Rank: #1,910,838 in Books (See Top 100 in Books)
- #233 in Graph Theory (Books)
- #459 in Mathematical & Statistical Software
- #3,194 in Probability & Statistics (Books)
- Customer Reviews:
About the author

Hadley is Chief Scientist at RStudio and a member of the R Foundation. He builds tools (both computational and cognitive) that make data science easier, faster, and more fun. His work includes packages for data science (ggplot2, dplyr, tidyr), data ingest (readr, readxl, haven), and principled software development (roxygen2, testthat, devtools). He is also a writer, educator, and frequent speaker promoting the use of R for data science. Learn more on his homepage, http://hadley.nz.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book essential for ggplot2 users. They say it's a nice introduction to ggplot, helps improve productivity, and is full of reproducible examples and code details. Readers also mention the book is worth reading and worth investing time in. They appreciate the clear and concrete examples and easy-to-use approach to data visualization.
AI-generated from the text of customer reviews
Customers find the book essential for ggplot2 users. They say it's a nice introduction to ggplot in an intuitive way. Readers also mention learning ggplot has improved their productivity and helped them do their homework with passion. They describe the book as an excellent overview and introduction to ggplod2, and it provides great examples of concise ggplot code.
"...And if you use ggplot2 then you need this book. Yes, much of the material is available online, including even the PDF...." Read more
"...I'm glad that I did. Wickham does a great job of laying out the underlying concepts behind the ggplot2 library...." Read more
"..."R Graphics Cookbook" is more recent, and gives excellent concise examples of ggplot code...." Read more
"...In my opinion it is very well balanced, with enough examples to stimulate creativity, enough detail to explain principles, and concise enough to be..." Read more
Customers find the book's graphics quality excellent. They say it creates smooth, gorgeous graphs with little effort. Readers also appreciate the reproducible examples and code details. In addition, they mention the accompanying images of the plots still work well.
"...to flip through than a web search, you can mark it up, it's nicely printed in color, you will discover things serendipitously while browsing it, and..." Read more
"...In just a matter of days, I've been able to build several custom visualization functions that I've struggled for years to do with SPSS...." Read more
"...low-resolution format of a Kindle, the accompanying images of the plots still work well (except for the absence of color), and I feel comfortable..." Read more
"...foundational ideas and philosophy behind ggplot, as well as providing great example code...." Read more
Customers find the book worth reading and a good resource. They say it's worth investing the time to learn how to use it. Readers also mention it has excellent content and is well worth the investment.
"...The model is a good one, and it's worth investing the time to learn how to use it...." Read more
"...Despite its flaws, the book is easy to read, and very useful for a first tour." Read more
"...base plotting syntax, the overall flexibility of the system is worth the effort, and the plots it produces are quite beautiful...." Read more
"...Definitely a book worth reading - and a package worth trying - even if in certain paragraphs it could have been a little less concise." Read more
Customers find the book concise enough to be very readable. They say it does a good job of explaining the grammar of graphics. Readers also mention the book is well-written, direct, and easy to follow.
"...ggplot2 package, which is a much more flexible and easy to use approach to data visualization than the built in basic graphics procedures in R..." Read more
"...creativity, enough detail to explain principles, and concise enough to be very readable...." Read more
"...clearly the power and the flexibility of ggplot2 with clear and concrete examples...." Read more
"...Despite its flaws, the book is easy to read, and very useful for a first tour." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
And if you use ggplot2 then you need this book. Yes, much of the material is available online, including even the PDF. Yes, there are extensive help files. Yes, you will still have to google lots of things to find answers. Some of the plot options have changed since the book was published but they still work (with helpful messages about how to update them).
But: the book is so much faster to flip through than a web search, you can mark it up, it's nicely printed in color, you will discover things serendipitously while browsing it, and buying it will support the market for such high quality texts. I'm delighted to have my own copy and, just like joining the local public radio, am proud to pay my dues.
The content of the book itself starts with a basic tutorial on quick plots, and then progresses to the more systematic "grammar of graphics" types, concluding with lots of reference material to tricky things like symbols and plot options. It's great to flip through it until I find that "I want a plot like that" and see the code right there. My only complaint is that I wish it had more on the grammar part; sometime I will need to buy and read Wilkinson The Grammar of Graphics (Statistics and Computing), too (not a replacement for this book).
ggplot2: Elegant Graphics for Data Analysis has helped tip the balance towards R. This book is a great orientation to the "grammar" of the ggplot2 package, which is a much more flexible and easy to use approach to data visualization than the built in basic graphics procedures in R (and SPSS for that matter). The text gives the reader a tour of ggplot2 features as it walks us through the process of building graphs. In just a matter of days, I've been able to build several custom visualization functions that I've struggled for years to do with SPSS. I'm now preferring R for EDA and hopefully soon will be able to completely break my SPSS habit.
Two caveats: 1) this book is an orientation to the ggplot2 package and the "Grammar of Graphics" framework employed by it, not a desktop reference; and 2) the initial focus on the qplot function in the package before focusing on the ggplot function is a bit disorienting, since they are similar enough to engender confusion. As such, this book does not work well as a reference book once you've gotten comfortable enough to experiment with the ggplot2 package.
These caveats, however, should not be a concern for those new to ggplot2 or data visualization in R. This book, plus R documentation online, will help get you started. I recommend this book to all looking to break the chains of data visualization with other statistical packages.
Recently, I had to generate some graphs again, and took the plunge and bought this book to try to come up to speed on one of the better graphing libraries. I'm glad that I did. Wickham does a great job of laying out the underlying concepts behind the ggplot2 library. By understanding the concepts, you have a much better chance at being able to generate the specific plot that you want to generate, rather than a "cookbook" approach to documentation where you hope that one of the examples matches yours.
It helps that ggplot2 is specifically designed to make it easier to construct arbitrary plots. The model is a good one, and it's worth investing the time to learn how to use it. I bought the Kindle edition, and was a little fearful that a book on graphs wouldn't work well in that format. But, despite the monochrome, low-resolution format of a Kindle, the accompanying images of the plots still work well (except for the absence of color), and I feel comfortable recommending the Kindle version for those who like to read in that format.
Top reviews from other countries
The book, by the author of the ggplot package, is easy to work through. It teaches ggplot both in a very practical manner (how to solve specific tasks), and in a very general manner, conveying the underlying concepts.
The last chapters give nice introductions to the author's other well known R packages: plyr (producing group "summaries") and reshape (reshaping data from long to wide format and vice versa). These packages are also great. The introduction is short but gets the main points for use across.
E.
Recomendable si tienes una gran interés en ggplot2.
Por cierto, las figuras del libro, están en color.






