6 Additional Resources for Data Visualization
6.1 General Data Visualization Materials
- Fundamentals of Data Visualization: A textbook on dataviz methodology, covering topics outlined here in much greater detail
- R Graph Gallery: Hundreds of example data visualization with tutorials on how to make them in R
- R Graphics Cookbook: A textbook with detailed instructions for creating graphs in R.
6.2 Advanced Methods
- Coloring in R’s blind spot: Tutorial introducing more than 100 palettes now included with base R, as well as functions for manipulating colors (used in multiple visualizations in this chapter)
-
ggnewscale
: An intuitive method for incorporating multiple color scales in a singleggplot2
graphic (used in multiple visualizations in this chapter) -
ggrepel
: Tools for avoiding overlapping text labels inggplot2
(used in multiple visualizations in this chapter) -
gganimate
: A principled approach to animating withggplot2
-
ggiraph
: Dynamic and interactive html graphics forggplot2
-
ggforce
: Various advanced shapes, lines, scales, and plot types forggplot2
-
ggborderline
Lines that pop inggplot2
(used in multiple visualizations in this chapter) -
rayshader
: Cinematic 3D graphics forggplot2
6.3 Packages for Unusual Plot Types
-
ggwordcloud
: Word clouds -
ggbeeswarm
: Sina (AKA beeswarm) plots—almost always an improvement on box plots or violin plots -
ggcorrplot
: Correlation matrices - Different Ways of Plotting U.S. Map in R: A book chapter comparing eight different methods for plotting map data in R
-
ggridges
: Ridgeline plots -
ggnetwork
: Network data -
wormsplot
: step charts with smooth transitions (in development by one of the authors of this book)
Additional ggplot2
extensions can be found here.