Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Join our platform to connect with experts ready to provide precise answers to your questions in various areas. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.
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”)
