10 Yr History of US Unemployment: Line Chart

Data

This plot uses the us_unemp data frame of the gcubed package. This data frame contains unemployment rates for the United States published by the Bureau of Labor and Statistics. Rates are published monthly.

library(gcubed)
head(us_unemp)
## # A tibble: 6 x 2
##   Date        Rate
##   <date>     <dbl>
## 1 2009-08-01   9.6
## 2 2009-09-01   9.8
## 3 2009-10-01  10  
## 4 2009-11-01   9.9
## 5 2009-12-01   9.9
## 6 2010-01-01   9.8

Code for plot

This plot uses geom_line to create a line chart.

library(ggplot2)

unemp_plt <- ggplot(us_unemp, aes(x = Date, y = Rate)) + 
  geom_line() + 
  ggtitle("10 Year History of US Unemployment Rates (2009 - 2019)")

unemp_plt