I am trying to plot a graph with Months on the X-axis and some value on the Y-axis. The months on the X-axis start from January and end in December. I want them to start on May and end at April. How do I do this?
plot_ly(data = fdata, type = "scatter", mode = "markers+lines", x = ~months, y = ~Total, color = ~Years.Since.Initiation,height = "100%") %>% layout(xaxis = xx, yaxis = yy)})
This is a small part of the dataset. The months column is a factor