I am trying to create a line plot with this df named total_sales. It's content is
I wrote a code to plot a line graph showing total sales over time.
ggplot(data = total_sales_by_month_year, aes(x = month_year, y = total_sales)) +
labs(title = "Total Sales by Month", x = "Month", y = "Total Sales")
But this is the plot that was displayed to me.
The result above does not contain a geom_line.
I would appreciate help with this. Thanks