# Create a subplot for each species
p + facet_wrap(facets = vars(species))Spring 2026 | Data 2 (399)
Jeffrey M. Girard | Lecture 13a
Create multiple subplots using facet_wrap() and facet_grid()
Use position adjustments to stack, fill, and dodge bar charts
Address overplotting in scatterplots using jittering and hex-binning
species island n
1 Adelie Biscoe 44
2 Adelie Dream 55
3 Adelie Torgersen 47
4 Chinstrap Biscoe 0
5 Chinstrap Dream 68
6 Chinstrap Torgersen 0
7 Gentoo Biscoe 119
8 Gentoo Dream 0
9 Gentoo Torgersen 0