0

Currently I have the following graph, which is a geom_bar after adjusting by coord_flip() enter image description here

But there is too much space between the y axis categories and the bars (the area that I've marked in yellow).

How can I modify it?

Maria
  • 173
  • 7
  • Nothing to do with `coord_flip`. `ggplot2` add some expansion to x/y scales. Try `+ scale_y_continuous(expand = expansion(mult = c(0, .05)))`. to set the expansion to 0 at the lower end of the scale. – stefan Dec 16 '22 at 08:49

0 Answers0