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

Home » Data Science » Data Analysis » 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?

What does the Geom_jitter () function do to the points in the plot?

It adds a small amount of random variation to the location of each point, and is a useful way of handling overplotting caused by discreteness in smaller datasets.

Which penguin species does your visualization display 1 point?

Your visualization displays the Adelie, Chinstrap, and Gentoo penguin species.

What code chunk do you add to the third line to save your plot as a PNG file with penguins as the file name?

What code chunk do you add to the third line to save your plot as a jpeg file with "penguins" as the file name? You add the code chunk ggsave("penguins.

What does the alpha aesthetic do to the appearance of the points on the plot?

Like color, size, and shape, “alpha” is an aesthetic property that points (and some other plot elements) have, and to which variables can be mapped. It controls how transparent the object will appear when drawn.