I want to create sales report in R using ggplot2. I want dates in x-axis and $ sales in y-axis and I also want to show promotions we did during the whole sale period. So we can Identify which promotions did well. I was able to do it thru geom_point and use color=Promotions but some of my promotions are overlapping and don't know how to tackle that. What is the best way I can achieve this.
I am open to use any other graph like bar or histogram if that can help me achieve this scenario.
Here's the code I use.
ggplot(data = sales)+
geom_point(mapping = aes(x = Date, y = Total_Sales, color = Promotions, size = Total_Sales))+
theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust=1))
Thank you!