Practice: Scatterplots

In this exercise, you practice producing scatterplots for a publication. This exercise does not count toward your grade. It is just for practice!

Exercise:

  1. Use the iris dataset to produce a scatterplot of Sepal.Length versus Sepal.Width
  2. Color the points by Species and add a legend showing the color for each species. 
  3. Feel free to use the base R or ggplot2 plotting system. 
  4. Export the plot in PNG format.
Last modified: Friday, December 16, 2022, 12:38 PM