placestats

Share of days with unhealthy air and Licensed gun dealers

Key points

Where share of days with unhealthy air is higher, licensed gun dealers tends to be higher. The link is weak: +0.34 across 800 counties, on a scale from −1 (opposite) to +1 (in step). That figure compares places with the same population density, income and education, so those differences can't explain it.

Holds after adjusting

Before and after adjusting

Before adjusting +0.37
Comparing places alike in density, income and education +0.34
Inside single states (middle value) +0.45
Each dot is the link on a scale from −1 to +1. The closer a dot sits to the middle line, the weaker the link.

Every place, plotted

One dot for each place reporting both measures. Hover over or tap a dot to see its name and values. The thin line is the straight line that best fits the dots. The bold line, shown for counties, is the link after adjusting for density, income and education. A dot far from the lines is a place that does not follow the pattern.

Loading every place…

Step by step

Counties split into five equal groups by share of days with unhealthy air, lowest first, with the middle value of licensed gun dealers in each. It shows whether the link climbs steadily or jumps at one point. Nothing is adjusted here.

Share of days with unhealthy airMiddle licensed gun dealersCounties
0% to 0.274%22160
0.274% to 0.822%26.5160
0.822% to 1.64%27160
1.64% to 2.75%28160
2.75% to 32.3%37161

What each measure is

Share of days with unhealthy air

The percentage of days when the Air Quality Index was over 100, which is unhealthy for sensitive groups or worse. The index runs from 0 to 500 and is set by the worst pollutant that day. Smoke from wildfires and summer ozone cause most of these days. It counts only the days the monitors gave a reading, and a year counts only if there were at least 274 of them. Only about 800 counties have a monitor, mostly the larger ones.

EPA Air Quality System · EPA AQS annual_aqi_by_county, Unhealthy for Sensitive Groups + Unhealthy + Very Unhealthy + Hazardous Days, divided by Days with AQI

Licensed gun dealers

Gun dealers and pawnbrokers with a federal license to sell guns, from the ATF's list of licenses in force each January, from 2021. Each license is one shop or business address. Some are small or run from a home, and a license says nothing about how many guns it sells.

ATF Federal Firearms Licensee list · ATF Federal Firearms Licensee list, each January from 2021, license types 01 and 02

Highest and lowest

Where each measure is highest and lowest among the places reporting both (2023), with the other measure beside it. This is shown for every size of place where both are published. Metro-area values are added up from their counties. A measure that cannot be added up across counties, such as a middle value (median), has no metro figure. Counts are shown per 1,000 residents, since raw totals would only list the largest places. Cities and towns and ZIP codes are shown where the Census survey or the CDC publishes them; most other sources stop at the county. They are shown for places of 5,000 residents or more, and only where the survey’s margin of error is small enough for the figure to be usable. The CDC publishes its health estimates for cities in a version adjusted for age, so places with older or younger people can be compared fairly, but not for ZIP codes.

Counties

By share of days with unhealthy air

Share of days with unhealthy airLicensed gun dealers, per 1,000 residents
Highest
San Bernardino County, CA32.30.04
Riverside County, CA31.20.07
Los Angeles County, CA23.80.02
Tulare County, CA22.50.08
Kern County, CA19.20.12
Lowest
Routt County, CO00.64
Montezuma County, CO01.03
Mesa County, CO00.46
Gunnison County, CO00.52
Santa Barbara County, CA00.07

By licensed gun dealers

Share of days with unhealthy airLicensed gun dealers, per 1,000 residents
Highest
Powder River County, MT3.383.97
Butte County, ID02.26
Oliver County, ND5.212.20
Sublette County, WY1.642.16
Jackson County, CO0.2742.11
Lowest
Jackson County, SD2.190.00
Billings County, ND2.740.00
Kings County, NY1.370.00
San Francisco County, CA0.2740.00
Queens County, NY3.290.00
States — Share of days with unhealthy air is not published for states

By licensed gun dealers

Share of days with unhealthy airLicensed gun dealers, per 1,000 residents
Highest
Wyoming—0.96
Montana—0.81
Alaska—0.67
North Dakota—0.59
South Dakota—0.55
Lowest
District of Columbia—0.01
New Jersey—0.03
Massachusetts—0.05
California—0.05
Rhode Island—0.06
Metro areas — Share of days with unhealthy air is not published for metro areas

By licensed gun dealers

Share of days with unhealthy airLicensed gun dealers, per 1,000 residents
Highest
Cody, WY—1.76
Baker City, OR—1.30
Riverton, WY—1.18
Wahpeton, ND-MN—1.14
La Grande, OR—1.08
Lowest
Nantucket, MA—0.00
San Francisco-Oakland-Fremont, CA—0.02
Trenton-Princeton, NJ—0.02
New York-Newark-Jersey City, NY-NJ—0.02
San Diego-Chula Vista-Carlsbad, CA—0.03

Counties furthest from the pattern

Compared with the straight line that best fits all 801 counties: the five with far more licensed gun dealers than their share of days with unhealthy air would suggest, and the five with far less.

Share of days with unhealthy airLicensed gun dealers, per 1,000 residents
Above the line
Powder River County, MT3.383.97
Oliver County, ND5.212.20
Butte County, ID02.26
Sublette County, WY1.642.16
Jackson County, CO0.2742.11
Below the line
Suffolk County, MA00.01
San Francisco County, CA0.2740.00
San Mateo County, CA00.02
Kings County, NY1.370.00
Hudson County, NJ1.370.01

Two series, one county

Both measures over time for a county you pick. The two charts are stacked, so they share only the years along the bottom. You can pick from the thirty largest counties reporting both. This panel covers 2010–2024, and a measure published only once shows as a single dot.

Loading…

Every version of the link

Each row measures the same link, from −1 to +1, in a different way. If the rows mostly agree, the link does not depend on one choice of method.

Before adjusting for anything+0.366800 counties reporting both
After adjusting for density, income and education+0.343the part of the link that is not just how urban, rich and educated a place is
Also adjusting for population size+0.199size taken out as well as density
Also comparing only within each state+0.412each county is compared only with others in its own state, so this is no longer a comparison between states
Also holding winter sunshine equal+0.352compares counties that get the same sunlight in winter as well. If this is much weaker, part of the link is a difference between sunny and grey regions (more)
Also allowing for race and age+0.319compares counties with the same shares of Black, Hispanic, Asian and Native American residents, and of people 65 and over. If this is much weaker, much of the link is who lives in these places
Also allowing for broad regional patterns+0.341holds equal a smooth map of where each county is, across the lower 48 states. If this is much weaker, much of the link is a gradient across the country, such as north to south
Giving bigger counties more weight+0.517the adjusted link for the average resident rather than the average county. With this weighting, the data counts for about 164 equally weighted counties
Middle value inside single states+0.449the link worked out inside each of 14 states with at least 20 counties reporting
Using ranks, after adjusting+0.025uses each county’s rank, not its value, so a few extreme counties cannot create the link

How much to believe it

Could it be chance?

The p-value is the chance of seeing a link this strong if there were really none. A value of 0.05 or less means the link is unlikely to be chance. Very small values are written in short form: 3.1e-16 means 0.00000000000000031, and the bigger the number after “e-”, the smaller the value. Treating every county as a separate case gives p = 2.3e-23. But counties in the same state tend to resemble each other, so the better figure allows for that: p = 0.025. The site tested 36,585 pairs, and testing so many turns up some flukes. The q-value allows for that too. For this pair it is 8.7e-23.

Do nearby places look alike?

Moran’s I measures how much nearby places look alike: 0 means no map pattern, and higher means neighbours are more similar. For the part of each county that the adjustment leaves unexplained, it is +0.25 (p = 0.001). That unexplained part still clusters on the map. So some regional factor shared by both measures is not accounted for.

Did they change together?

Not measurable: at least one of these is published for too few of the years a change needs (2014–2019 or 2019–2023), or for too few counties in both.

Related pairs

Share or cite this

Put this chart on your site

Paste this code into a web page to show the chart, with a credit and a link back here. See what it looks like.

Cite this page

PlaceStats. (2026). Share of days with unhealthy air vs Licensed gun dealers by US County. Data: EPA Air Quality System; ATF Federal Firearms Licensee list. https://placestats.org/us/pair/licensed-gun-dealers-vs-share-of-days-with-unhealthy-air/ (accessed 2 December 2026).

Association only. Nothing here shows that either measure changes the other. This describes counties, not the people in them. Two measures going together across places does not mean the same people have both. How the US county data works · Explore Share of days with unhealthy air and Licensed gun dealers