At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Connect with a community of experts ready to provide precise solutions to your questions quickly and accurately. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.
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”)
