For item 2 In this block of exercises: https://aeturrell.github.io/python4DS/data-visualise.html#exercises-1
(ggplot(penguins, aes(x = species)) +
geom_bar(color = "red"))
(ggplot(penguins, aes(x = species)) +
geom_bar(fill = "red"))
species should be wrapped in quotes:
(ggplot(penguins, aes(x = "species")) +
geom_bar(color = "red"))
(ggplot(penguins, aes(x = "species")) +
geom_bar(fill = "red"))
For item 2 In this block of exercises: https://aeturrell.github.io/python4DS/data-visualise.html#exercises-1
speciesshould be wrapped in quotes: