BadAirDays

Embed a County's Bad Air Days on Your Site

Who it is for

Each county page has a small badge version: bad air days a year over 2016-2025, the months they cluster in, and whether particles or ozone cause them. It suits a real-estate listing page, a school or clinic page for families with asthma, a local news story after a smoke event, or an HVAC firm's service-area page that wants a county's own number instead of a national claim.

How to add one

Take the county's slug, the part of its URL after the domain, such as fresno-county-california for Fresno County, California, and paste:

<iframe src="https://badairdays.com/embed?county=COUNTY-SLUG" width="320" height="190"
  style="border:0" loading="lazy" title="Bad air days widget"></iframe>

The credit link inside the badge goes to that county's full page and carries rel="nofollow", following Google's guidance on links in embeddable widgets. The badge is a history, not today's reading; it says so, and for live air it points readers to AirNow.

Why two badges rarely match

The badge for San Bernardino County, California shows 138 bad days a year, while 173 monitored counties average under half a day. The cause differs too: in Pinal County, Arizona it is mostly particles, in San Bernardino County, California mostly ozone, and the badge says which, because that decides whether a purifier is worth buying. Counties monitored on too few days show "not enough data" rather than a guess. The county numbers guide explains the method.

Related guides