Get the answers you've been searching for with IDNLearn.com. Discover comprehensive answers to your questions from our community of experienced professionals.

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=