Hopefully this one is pretty easy, but I just can't seem to find the answer, though I have checked quite a few answers on here about flipping y-axes.
I have data like this:
df<-structure(list(applicant_name = structure(1:3, .Label = c("John Smith",
"Lauren", "Billy"), class = "factor"), MeanRanking = c(11.5,
8.25, 20)), row.names = c(NA, -3L), class = c("tbl_df", "tbl",
"data.frame"))
And I'd like to flip it upside down as a lower score is "better". From what I find on here, scale_y_reverse can flip it upside down, but then my bars are drawn from the top, like so:
How do I put 0 at the top, the largest number at the bottom (the real data might get bigger than 12, the bottom could be 20 I supposed because it couldn't be bigger than that) and draw the bars/columns from the bottom?
Edit: seems like per the comments/answers geom_col may not work, but my aesthetic goal would be: the "biggest and tallest" bar would actually be for the smallest number. In the real world, this will be the applicant that will have the best placing "ranked in top 3" and so it'd be great if it kinda looked like the top of the podium per se. If that makes sense
This is what I'd like: