Hello everyone I was trying to make a plot in r and i got it but then I had the problem that the name of the bar plots are enclosed so do anyone know how to avoid this problem.
This is my code
ggplot(question2, aes(x=educa, fill=X_incomg)) + geom_bar(position = "fill")+
ylab("Proportion") +
ggtitle("Reported education vs. Income categories") +
scale_fill_brewer("Income level", palette="Set2") +
theme_bw()