👨🏫 ggplot2 Teaching Material
Collection of teaching materials for the R
package {ggplot2}
.
Presentations
- "An Introduction to
{ggplot2}
" — Slideshow — Stats Group of the Leibniz Institute for Zoo and Wildlife Research (2019-08-28) - "Effective Data Visualizations: How to design impactful and aesthetically pleasing charts" — Recording, Slides & Code — Heureka Labs bespokeDS session with live coding
Blog Posts
- "A
{ggplot2}
Tutorial for Beautiful Plotting in R — Extensive "How to"-Tutorial based on a version from 2016 by Zev Ross (Last Update: 2020-12-07) - "The Evolution of a ggplot Part 1" — Blog post on how to turn a default ggplot into a plot that visualizes information in an appealing and easily understandable way
Helpful Ressources
-
Free Online Books:
- "ggplot2: Elegant Graphics for Data Analysis" by Hadley Wickham → ggplot2-book.org
- "R for Data Science" by Hadley Wickham → r4ds.had.co.nz
- "Data Visualization: A Practical Introduction" by Kieran Healy → socviz.co
- "Fundamentals of Data Visualization" by Claus Wilke → serialmentor.com/dataviz
-
Galleries:
- ggplot2 Extension Gallery → exts.ggplot2.tidyverse.org/gallery
- R Graph Gallery → r-graph-gallery.com
- Color Palettes in R → github.com/EmilHvitfeldt/r-color-palettes
- #TidyTuesday Collection → tidytuesday.rocks
-
Get Help:
- RStudio Community → community.rstudio.com
- R4DS Learning Community → rfordatasci.com
- #TidyTuesday Community → #TidyTuesday on Twitter
- ggplot2 Cheatsheet → github.com/rstudio/cheatsheets
-
Useful Packages (alphabetically):
{cowplot}
— plot arrangements, themes & annotations → wilkelab.org/cowplot{ggalt}
— alternative coords, geoms, stats & scales → github.com/hrbrmstr/ggalt{gganimate}
— create animations → gganimate.com{ggforce}
— several interesting add-on features → ggforce.data-imaginist.com{ggmaps}
— access to Google & Stamen maps → github.com/dkahle/ggmap{ggplotly}
— create interactive plots → plot.ly/ggplot2{ggpubr}
— publication-ready plot in one line → github.com/kassambara/ggpubr{ggraph}
— networks, graphs & trees → github.com/thomasp85/ggraph{ggrepel}
— prevent overlapping text labels → github.com/slowkow/ggrepel{ggridges}
— geoms for joy plots → github.com/clauswilke/ggridges{ggtext}
— rich-text rendering → github.com/clauswilke/ggtext{ggthemes}
— additional themes, sclaes & geoms → github.com/jrnold/ggthemes{hrbrthemes}
— typography-centric themes → github.com/hrbrmstr/hrbrthemes{lemon}
— axis & legend add-ons → github.com/stefanedwards/lemon{patchwork}
— combine ggplots → github.com/thomasp85/patchwork{rayshader}
— hillshaded maps in 2D & 3D → github.com/tylermorganwall/rayshader{showtext}
— use custom fonts → github.com/yixuan/showtext