how do I add a 3rd axis to a ggplot?

I want to create a time series plot showing how two variables have changed overtime?

I have the year variable which I will put on the x axis, then I want to plot both incometax and taxpaid on the graph but show how they have both changed over time?

How would I add a 3rd axis to get the plot how these two variables have changed overtime?

the recommended resource to learn how to use ggplot is https://r4ds.had.co.nz/data-visualisation.html

If you have a partial solution that you want to add an element to , then consider making a reprex that you share.
FAQ: How to do a minimal reproducible example ( reprex ) for beginners

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.