Thank you for this suppose you got sales data. you got items sold, their quantity and value if I were in excel I would make a bar plot for the value, i.e. sales value, and volume/quantity of items sold as line chart combined with the previous but the latter would use a secondary axis now, I know such a thing is possible by mapping different data to different geoms but I am facing an issue visualising the quantity on a line chart any ideas? x-axis would have categorical labels and the other numeric
Neat! I was using curve() from base R. This is much simpler.
Thank you!
Thank you for this
suppose you got sales data.
you got items sold, their quantity and value
if I were in excel I would make a bar plot for the value, i.e. sales value, and volume/quantity of items sold as line chart combined with the previous but the latter would use a secondary axis
now, I know such a thing is possible by mapping different data to different geoms but I am facing an issue visualising the quantity on a line chart
any ideas?
x-axis would have categorical labels and the other numeric
Hi! For specific questions like this, I recommend the R4DS learning community. www.rfordatasci.com/