Rob Kabacoff
Saturday, April 23, 2022
Categorical
Quantitative
ggplot(data, mapping) +
geom_bar()
common options
Currently unpopular compared to bar charts
Can be useful for displaying part/whole relationships
see the ggpie package
Can display large number of categories
ggplot(plotdata, mapping) +
geom_treemap() +
geom_treemap_text()
mapping aes(x = , area =)
ggplot(data, mapping) +
geom_histogram()
common options
ggplot(data, mapping) +
geom_density()
common options