I have three dataframes with this structure (but different values):
V1 V2
2010-04-30 30
2010-07-31 17
2010-10-02 20
I want to do a line chart in ggplot2 with 3 lines, one for each dataset. The problem is that i want to display in the Y axis the percentage relative to each dataset and not the global one.
How can i do this? Should i merge the two dataframes, or call three times geom_line() for the different dataframes and change there Y value?
There are lots of ways to do this, some probably pithier than this, but this gets you there: