I want to know if it's feasible to create a bar chart with groupings by type in ggplot the same way I would in excel. I have the following data:
df <- data.frame(label = c("A", "A", "B", "C"), variable = c("alpha", "beta", "tim", "tom"), values = c(1,2,4,1))
In excel, I can easily create a graph that looks like this:
Is there a way to do something similar in ggplot, where the column 'label' groups the variables?