ggplot not working like the others?

Hello! I am running a time series of google trends for multiple countries (individual plots per country). All ggplots are working except for one dataset. Literally have used the same code for all of them but the French set is not complying (note all the data sets follow the same format just with different values). Do you know why it is going wrong and how I can fix it?

ggplot(resFR$interest_over_time, aes(x = date , y = hits , color = "keyword")) + geom_line(size=1) + scale_x_datetime(breaks = seq(from = as.POSIXct("2004-01-01"), to = as.POSIXct("2021-10-01"), by = "1 years"), labels = date_format("%Y"))

Instead of a normal time series, the data is horizontal to the x axis and the y axis is not in order.

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.