visualizedata.org

Demo page: real public data, in a page layout that is still being designed. Numbers are as the sources published them on the build date shown at the bottom.

Indicators / United States / Air quality

Days with good air

% of days · U.S. Environmental Protection Agency, AirData annual AQI by county, via airdata.dev · AQI 50 or below, counties with a monitor reading at least 180 days

Middle county, 2025
77.6% of days
States with a figure
none county figures only
Counties with a figure
916 2025
Days with good air, the middle US county, 1980–2025The median of the 916 counties with a figure was 77.6% of days in 2025, against 74.7% of days in 2015; the counties with a monitor change from year to year.
55.060.065.070.075.080.085.019801990200020102020
Indicator: Days with good air, % of days, yearly (AQI 50 or below, counties with a monitor reading at least 180 days); EPA good days / days with an AQI; median across counties with a figure that yearSource: U.S. Environmental Protection Agency, AirData annual AQI by county (U.S. public domain), via airdata.dev county-aqi-annual, version 2026-10-26.271cefd8c0
Show the numbers (46 rows)
YearMiddle county
202577.6
202477.7
202370.5
202276.7
202173.3
202080.2
201977.5
201874.4
201774.6
201677.6
201574.7
201473.3
201372.1
201265.1
201164.8
201065.5
200973.2
200865.6
200759.9
200664.7
200562.7
200470.5
200365.7
200262.7
200162.5
200063.1
199961.6
199869.9
199776.2
199676.5
199574.4
199476.0
199377.6
199280.9
199174.5
199075.5
198974.8
198868.2
198767.4
198672.5
198573.0
198472.5
198371.3
198274.3
198175.0
198071.6

Highest and lowest counties, 2025

HighestStateDays with good air
Uinta CountyWyoming100.0% of days
Carbon CountyWyoming100.0% of days
Wilson CountyTexas100.0% of days
Karnes CountyTexas100.0% of days
Martin CountyNorth Carolina100.0% of days
Sonoma CountyCalifornia100.0% of days
Pacific CountyWashington99.7% of days
Denali BoroughAlaska99.7% of days
Navajo CountyArizona99.5% of days
Lake CountyCalifornia99.2% of days
LowestStateDays with good air
Maricopa CountyArizona8.8% of days
Los Angeles CountyCalifornia10.7% of days
Riverside CountyCalifornia10.7% of days
Harris CountyTexas11.0% of days
San Bernardino CountyCalifornia12.6% of days
Pinal CountyArizona17.0% of days
Kern CountyCalifornia17.5% of days
San Diego CountyCalifornia17.5% of days
El Paso CountyTexas18.1% of days
Tulare CountyCalifornia24.1% of days

Every county's figure is on its own page, in its profile table, with its rank among all counties and within its state.

Get this data

This page's numbers, as JSON:

curl https://visualizedata.org/data/us-indicators/us-good-air-days.json

Every place from airdata.dev (live, no key; U.S. Environmental Protection Agency data, this exact version):

curl "https://api.airdata.dev/v1/county-aqi-annual@2026-10-26.271cefd8c0/download/county-aqi-annual.parquet"

Open the JSON

Source

  • U.S. Environmental Protection Agency, AirData annual AQI by county (U.S. public domain): EPA good days / days with an AQI.
  • Read through airdata.dev, dataset county-aqi-annual, version 2026-10-26.271cefd8c0; its 47 input files from the U.S. Environmental Protection Agency are named with their sha256 in this page's data, and the site's checks recompute every figure from them.
  • A year counts once it is over, for counties whose monitors gave an AQI on at least 180 days; EPA's file for the current year is partial. A county without a monitor has no figure, and one monitor can stand for a large county. Fine-particle (PM2.5) monitors only spread from 1999, and EPA has since tightened the AQI scale for ozone and fine particles, so a long trend mixes changes in the air with changes in what is measured and how.
  • EPA refreshes its annual files twice a year; a year is final about May of the next.
  • 12 areas in the source are not places in the geo registry and are left out: us-county-02261, us-county-09001, us-county-09003, us-county-09005, us-county-09007, us-county-09009, us-county-09011, us-county-09013, us-county-09015, us-county-78010, us-county-78020, us-county-78030 (Connecticut's former counties, retired Alaska and South Dakota codes, the Virgin Islands).
  • Built 2026-10-26.