Specify additional aesthetics for points

ggplot2 implements the grammar of graphics to map attributes from a data set to plot features through aesthetics. This framework can be used to adjust the point size, color and transparency alpha of points in a scatter plot.

  • Add additional plotting dimensions through aesthetics
  • Adjust the point size of a scatter plot using the size parameter
  • Change the point color of a scatter plot using the color parameter
  • Set a parameter alpha to change the transparency of all points
  • Differentiate between aesthetic mappings and constant parameters
ggplot(___) + 
  geom_point(
    mapping = aes(x = ___, y = ___, 
                  color = ___, 
                  size  = ___),
    alpha  = ___
  )
View Interactive Version