Exercise: Create a colored scatter plot with DavisClean

The DavisClean dataset contains the height and weight measurements of 199 people.

  1. Use the ggplot() function and specify the DavisClean dataset as input
  2. Add a geom_point() layer to the plot and create a scatter plot showing the weight on the x- and the height on the y-axis
  3. Make the color aesthetic of the points unique by the sex of each individual.

Submit code to see output here.

Specify additional aesthetics for points