D-Lab's 3 hour introduction to data visualization with R. Learn how to create histograms, bar plots, box plots, scatter plots, compound figures, and more using ggplot2 and cowplot.
-
Updated
Nov 9, 2023
D-Lab's 3 hour introduction to data visualization with R. Learn how to create histograms, bar plots, box plots, scatter plots, compound figures, and more using ggplot2 and cowplot.
Gallery and R code for published scientific figures
📊 UBC graduate course for data visualization
📊 Multi-panel plots with R for UBC Graduate Course BIOL 548L
R scripts building dumbbell (connected-dot) charts for paired statistical comparison with ggplot2 and ggalt (geom_dumbbell), factor-ordered categories, cowplot multi-panel layout and ColorBrewer palettes. Mariana Trench geomorphometric profiles; used in Lemenkova (2019), Geodesy and Cartography 45(2):57-84.
Full replication and redesign of the Financial Times "Changing Fortunes" slope chart on US median household income inequality (1999–2014). Built in R with ggplot2, cowplot, and sf.
R scripts drawing per-profile depth-distribution histograms (ggplot2 geom_histogram with fitted normal-density and kernel-density curves and mean/median lines), assembled into a 25-panel figure with cowplot/ggpubr. Mariana Trench; Fig. 4 in Lemenkova (2019), Geodesy and Cartography 45(2):57-84.
To associate your repository with the cowplot topic, visit your repo's landing page and select "manage topics."