Economic Trends in the U.S. (1967–2015)

Your Name - Student ID: XXXXXXXX

Slide 1: Introduction

  • This project explores long-term economic trends in the U.S. using R’s built-in economics dataset.
  • It includes visualisations of personal savings, unemployment, and consumer expenditures over time.

Slide 2: Dataset Overview

Dataset: economics (ggplot2)

  • Source: U.S. economic time series data
  • Time span: 1967 to 2015 (monthly)
  • Key variables:
    • psavert: Personal savings rate
    • pce: Personal consumption expenditures
    • unemploy: Number of unemployed (in thousands)
    • uempmed: Median unemployment duration
    • pop: Population

Slide 3: Personal Savings Rate Over Time

Slide 4: Unemployment Over Time

ggplot(economics, aes(x = date, y = unemploy)) +
  geom_line(color = "darkred", size = 1) +
  labs(title = "Unemployment (in thousands)",
       x = "Year", y = "Unemployed Persons") +
  theme_minimal()

Slide 5: Median Duration of Unemployment

ggplot(economics, aes(x = date, y = uempmed)) +
  geom_line(color = "orange", size = 1) +
  labs(title = "Median Duration of Unemployment (weeks)",
       x = "Year", y = "Weeks") +
  theme_minimal()

Slide 6: Population Growth

ggplot(economics, aes(x = date, y = pop)) +
  geom_line(color = "forestgreen", size = 1) +
  labs(title = "U.S. Population (in thousands)",
       x = "Year", y = "Population") +
  theme_minimal()