What Content Is Available on ggplot2-book.org?

Updated

ggplot2-book.org hosts the online, work-in-progress 3rd edition of ggplot2: Elegant Graphics for Data Analysis, published by Springer and written by Hadley Wickham, Danielle Navarro, and Thomas Lin Pedersen. The site is organized around a table of contents, with a Preface that describes what changed from the 2nd edition. It is aimed at readers who want to understand the Grammar of Graphics behind ggplot2 and the full details of how the package works — not at readers looking for a recipe book of ready-made plots.

What the site contains

The site presents the book's content in a single navigable structure:

  • A table of contents that serves as the main entry point to the chapters.
  • The Preface, which explains the differences between the 2nd and 3rd editions.
  • The full book text covering the Grammar of Graphics and the details of ggplot2.

Because the edition is described as work-in-progress, the online version may not be identical to a final print edition.

What the book focuses on

The site states its primary focus directly: explaining the Grammar of Graphics that ggplot2 uses, and describing the full details of the system. The stated goal is to give you the understanding needed to tailor any plot to your own needs.

It is explicitly not a cookbook. According to the site, it "won't necessarily help you create any specific graphic that you need." That distinction matters when deciding whether this is the right resource for you.

Who it is for

If you want to… This site is…
Understand the theory and structure behind ggplot2 A good fit — that is its stated purpose
Learn the details well enough to customize plots yourself A good fit
Find a copy-paste recipe for one specific chart Not the intended use
See what changed since the 2nd edition Start with the Preface

How to start reading

  1. Open the site and go to the Table of contents.
  2. If you already know ggplot2 and want to know what is new, read the Preface first — it is where the changes from the 2nd edition are described.
  3. Otherwise, work through the table of contents in order, since the book builds an understanding of the Grammar of Graphics rather than presenting isolated examples.

A practical note on expectations

The most common mismatch for this site is treating it as a lookup tool for a specific graphic. The site itself sets that expectation: it is about the underlying theory and full details, and the payoff is the ability to tailor plots rather than to copy a finished one. If your immediate need is a single specific chart, this resource is better used alongside, not instead of, a recipe-style reference.