September 16, 2026

Why explore air quality?

Air pollution changes with weather and season. Interactive graphics let the reader inspect individual days while still seeing the broader pattern.

111 complete observations
5 months observed
42.1 mean ozone (ppb)

The presentation uses the built-in R dataset airquality, containing daily measurements from New York between May and September 1973.

Temperature, wind, and ozone

Hover over a point for the day and measurements. Marker size represents wind speed; colour represents month.

How did average ozone change by month?

What do the patterns suggest?

Warmer days
Ozone and temperature have a positive correlation of 0.7.
Windier days
Ozone and wind have a negative correlation of -0.61.
Seasonality
The monthly chart shows that ozone levels vary substantially across the summer.

These are descriptive associations rather than causal effects. Weather variables interact, and the dataset covers one city and one summer.

Reproducibility and assignment details

  • Created on: September 16, 2026
  • Built as an HTML presentation from R Markdown
  • Interactive graphics created with the plotly R package
  • Data source: the built-in R dataset airquality
  • Source code: GitHub repository
Move the pointer over the charts, zoom into a region, or double-click to reset the view.