Q. How do you create a bar plot in ggplot2 for a categorical variable named category and its counts?
β
Correct Answer: (C)
geom_bar(aes(x = category, y = count))
You must be Logged in to update hint/solution