Creating ggplot2 Extensions
If you’re reading this tome you are likely familiar with the
ggplot2 package and have used it to create one or more data-driven visualizations.
The goal of this book is to help you move from being a user of
ggplot2 into a creator of new
ggplot2 components that others can use. There are many types of components you can build for
ggplot, including those involving:
- statistical computation (
- new visual elements (
- coordinate systems (
- data transformation (scales)
- overall plot appearance (themes)
You will progress from developing basic components in standalone scripts/projects to packaging up your creations to make them easier to distribute so others can more readily use them.