Currently my code below plots the count of cases stratified by columnB
and over different years on the x-axis. Instead of actual counts, I would like to plot the proportions of cases. How would I go about and do that?
ggplot(df, aes(x= year, fill=columnB)) + geom_bar()
Thanks!