Trying to plot the following data frame (call it bob):
Since the original date is in d/m/y, I use Finaldate and Value to graph. Here is the code used to graph:
ggplot(Bob, aes(Finaldate, Value)) +geom_line() + geom_point(size = 3) + labs(title = "TITLE",subtitle = "SUBTITLE", y = "Y", x = "X") + theme_fivethirtyeight()+scale_y_continuous(name="name", labels = scales::comma)+theme(legend.title = element_blank())+scale_x_discrete(guide = guide_axis(check.overlap = TRUE))
While I do get an output, it is not as a time series but rather the dates are not in order and the plot makes no sense. Attached a copy of the plot as well.
Not sure how to fix this problem, and have tried a couple of different things