Visualization Best Practices in R
Nick Strayer
Instructor

Beeswarm plots

Violin plots

geom_beeswarm() in the ggbeeswarm package.library(ggbeeswarm)
ggplot(data, aes(y = y, x = group)) +
geom_beeswarm(color = 'steelblue')



geom_boxplot() with geom_violin().ggplot(data, aes(y = y, x = group)) +
geom_violin(fill = 'steelblue')



Visualization Best Practices in R