Solve

You are working with the penguins dataset. You create a scatterplot with the following code:

ggplot(data = penguins) +

geom_point(mapping = aes(x = flipper_length_mm, y = body_mass_g))

You want to highlight the different penguin species on your plot. Add a code chunk to the second line of code to map the aesthetic shape to the variable species.

NOTE: the three dots (…) indicate where to add the code chunk.

geom_point(mapping = aes(x = flipper_length_mm, y = body_mass_g, shape = species))

Which penguin species does your visualization display?