by Allison Horst
Available here: https://allisonhorst.github.io/rice-data-viz/
- Conceptual hierarchy of data viz
ggplot2basics review- Aesthetic mapping
- Themes
- Labels
- Facets (& facet grids vs facet wraps)
- Getting things in order (e.g. fct_reorder)
- Advanced customization in
ggplot2scalesfor thoughtful breaks and labels- …and color schemes (+
paletteer!) - In the weeds of themes (gridlines, panel colors, margins, etc.)
- Direct annotation (as an alternative to legends)
- Repulsive labels (e.g.
ggrepel) - Highlighting for clarity (e.g. with
gghighlight)
- Compound figures with
patchwork - A few new graph types to consider
- Marginal plot
- Beeswarm plots with
ggbeeswarm - Heatmaps with
geom_tile() - A map! in
ggplot2
- Export & save your graphs
- Keep learning
There are two ways you can get the workshop materials:
-
Create a free RStudio Cloud account, and access the materials here: https://rstudio.cloud/project/2256278. If you use this option, make sure to click “Make permanent copy” or your work will be deleted when you close the project.
-
Fork & clone this repo to work locally.
Make sure you have recent versions of the following packages installed for the workshop:
tidyverseherejanitor
patchworkggrepelgghighlightpaletteerggExtraggbeeswarm
sf
gapminder