BASIC GEOMS
Use this cheat sheet to find the right aesthetics for your geoms. Fist, find the
visualization you want to create, and then have a look at the corresponding
aesthetics. Based on the color and form of the aesthetic, you can see which
variable types to use and whether the color can be mapped to variables.
For a full reference of the aesthetics
of each geometric object, go to:
https://ggplot2tor.com/aesthetics
x y fill alpha color width size
geom_histogram
geom_col
geom_bar
geom_line
geom_area
geom_point
geom_boxplot
x y fill alpha color width size
Aesthetic that must be mapped Aesthetic that should be mapped to
a continuous variable
Aesthetic that can be mapped
Aesthetic that should be mapped to
Aesthetic that cannot be mapped a discrete variable
Aesthetic that can be mapped to
a discrete or continuous variable
This cheat sheet may not be reproduced or altered without the prior, express written permission of Christian
c Burkhart. You may not alter or remove any copyright or other notice from this cheat sheet. Feel free, however, ggplot2tor.com
to distribute the cheat sheet as you wish. Please direct your inquiry to burkhart.christian@gmail.com