Question 4
Which code snippet will make all of the bars in the plot purple?

1 point

ggplot(data = buildings) +

geom_bar(mapping = aes(x = construction_year), color=”purple”)


ggplot(data = buildings) +

geom_bar(mapping = aes(x = construction_year, color=”purple”))


ggplot(data = buildings) +

geom_bar(mapping = aes(x = construction_year, color=height))


ggplot(data = buildings) +

geom_bar(mapping = aes(x = construction_year)) +

color(“purple”)

Question 4 Which code snippet will make all of the bars in the plot purple 1 point ggplotdata buildings geombarmapping aesx constructionyear colorpurple ggplotd class=