I have below code:
ggplot(aes(x = Education)) +
geom_bar(aes(fill = P_3_1, P_3_2)) +
facet_wrap(~Education) +
labs(y = 'Qunatity', title = 'Answers for group "P_3"
based on education') +
theme_bw()
I want to get geom_bar as below with two colours. Is that possible or this part of code: fill = P_3_1, P_3_2 needs to be changed? I'm getting just one coloured gray bars.