So I am trying to create a graph of unemployment rates in Illinois for each month. My data table is simple. It looks like this:
Here is my code:
unemploy_data_il <- read.csv("data/clean_data/unemploy_rate_il_2020.csv")
library("ggplot2")
unemployment_il_graph <- ggplot(unemploy_data_il, aes(x = month,
y = unemployment_rate)) +
geom_point()
print(unemployment_il_graph)
However, when I run my code, the months on the graph is alphabetize and not actually in order as I have them in my data table. What should I do to fix this?
My graph looks like this: