Trying to plot GO in ggplot

Hi Vrinda,

Welcome to RStudio Community! To properly help you, we'll need a reproducible example:

FAQ: What's a reproducible example (reprex) and how do I create one?

The easiest way to do this is provide the output to:

dput(your_data)

Or, if your data is very big:

dput(head(your_data, 200)) # replace 200 with an appropriate number

Furthermore, this doesn't look like a web link and looks more like something local to your computer. Is there an example online somewhere of the kind of plot you want? Or can you attach it to this post as an image?

If I had to have a go at fixing your issue without seeing your data or goal, I think replacing your facet call with this may help:

facet_wrap(~category, scales = "free_y")
1 Like