transcript.md
↑ ContentsState Planner chat · https://stateplanner.com
- State: North Dakota (ND)
- Started: November 16, 2026, 6:37 PM UTC
- Runtime: 49 sec
- Status: completed
Prompt
Which North Dakota census block groups gained or lost the most people from 2010 to 2020? Map the change.
Model: Anthropic: Claude Opus 5.5 (anthropic/claude-opus-5.5, via openrouter), high effort
Response
North Dakota block group population change, 2010 to 2020 census
I used the 2010 and 2020 decennial census counts for all 632 block groups. Both years are on 2020 block group boundaries, so each block group's two counts can be compared directly. Together, the block groups grew from 672,592 people to 779,094, a gain of 106,502 (+15.8%). Growth was concentrated in a small number of block groups:
- 328 block groups gained people, 299 lost people and 5 were unchanged.
- 42 block groups gained 1,000 or more people. Only 12 lost 250 or more, and only 2 lost more than 500.

Map legend
- Dark navy → light blue: the block group gained 1,000 or more / 250–999 / 50–249 people.
- Light grey: change between −49 and +49.
- Orange → dark red: the block group lost 50–249 / 250 or more people.
- Heavy black outline: the 10 largest gains and the 10 largest losses.
- Clicking a block group shows its 2010 and 2020 counts, the percent change, and how much of the 2010 count was estimated.
Largest gains, 2010 to 2020
| Block group | Area | 2010 | 2020 | Change |
|---|---|---|---|---|
| 381059537011 | Williston (Williams) | 1,425 | 6,164 | +4,739 |
| 380170405011 | Fargo (Cass) | 406 | 4,069 | +3,663 |
| 381059537022 | Williston (Williams) | 897 | 4,411 | +3,514 |
| 381059537013 | Williston (Williams) | 1,014 | 3,983 | +2,969 |
| 380590203012 | ~2 km outside Mandan (Morton) | 2,177 | 5,097 | +2,920 |
| 380170405082 | West Fargo (Cass) | 90 | 2,917 | +2,827 |
| 381010106022 | Edge of Minot (Ward) | 1,452 | 4,185 | +2,733 |
| 380150111052 | Bismarck (Burleigh) | 671 | 3,374 | +2,703 |
| 380170405081 | West Fargo (Cass) | 13 | 2,670 | +2,657 |
| 380150113002 | Near Lincoln (Burleigh) | 1,575 | 3,818 | +2,243 |
Just below the top 10 are 380539624003 at the edge of Watford City (+2,217) and 380170405091 in south Fargo (+2,166). The largest gains are in three kinds of places: Williston, the fringes of Fargo and West Fargo, and the edges of Bismarck, Mandan and Minot.
Largest losses, 2010 to 2020
| Block group | Area | 2010 | 2020 | Change |
|---|---|---|---|---|
| 381010109021 | Minot AFB (Ward) | 2,137 | 1,151 | −986 |
| 380350103011 | Grand Forks | 2,244 | 1,588 | −656 |
| 381010104003 | Minot | 1,501 | 1,128 | −373 |
| 381010102004 | Edge of Minot (Ward) | 1,149 | 803 | −346 |
| 380799418005 | Belcourt (Rolette) | 1,009 | 670 | −339 |
| 380350119002 | Grand Forks AFB | 861 | 533 | −328 |
| 380170003003 | Fargo | 1,434 | 1,140 | −294 |
| 380350103021 | Grand Forks | 2,686 | 2,396 | −290 |
| 381010109023 | Minot AFB (Ward) | 712 | 425 | −287 |
| 380170405051 | Fargo (Cass) | 1,863 | 1,591 | −272 |
The losses are much smaller than the gains. The largest losses are in the two Air Force base areas and in older parts of Minot, Grand Forks and Fargo.
How reliable the 2010 counts are Census counts have no sampling error. However, part of each 2010 count had to be estimated to fit it onto 2020 boundaries, and for 153 block groups some of the count was estimated this way. In most cases this doesn't change the picture. A few exceptions:
- 380170405091 (south Fargo): its 2010 count of 13 was fully estimated; the possible range is 0–36. The gain of about 2,100+ still holds.
- 381010109023 (Minot AFB): about 47% of its 2010 count was estimated, with a range of 379–905. The size of its loss is uncertain.
- 381010109021 (Minot AFB): the 2010 range is 1,943–2,700, so the true loss could be anywhere from about 800 to over 1,500.
Other ways to measure this: I ranked block groups by the number of people gained or lost. Ranking by percent change would favor block groups that started very small. For example, West Fargo's 380170405081 grew from 13 people to 2,670. Percent change is in each block group's click popup.
Exploratory Queries
Query 1 — Compute 2010–2020 population change per block group and list largest gains and losses.
WITH c AS (
SELECT a.geoid,
a.pop_total p10,
b.pop_total p20,
b.pop_total - a.pop_total chg,
a.est_share,
a.pop_total_lower lo,
a.pop_total_upper hi
FROM nd_census_bg_decennial a
JOIN nd_census_bg_decennial b ON a.geoid = b.geoid
AND a.year = 2010
AND b.year = 2020
) (
SELECT 'gain' k,
c.*,
g.county_name,
g.tract_geoid,
g.namelsad
FROM c
JOIN nd_census_block_groups g USING (geoid)
ORDER BY chg DESC
LIMIT 12
)
UNION ALL
(
SELECT 'loss',
c.*,
g.county_name,
g.tract_geoid,
g.namelsad
FROM c
JOIN nd_census_block_groups g USING (geoid)
ORDER BY chg ASC
LIMIT 12
)
| k | geoid | p10 | p20 | chg | est_share | lo | hi | county_name | tract_geoid | namelsad |
|---|---|---|---|---|---|---|---|---|---|---|
| gain | 381059537011 | 1425 | 6164 | 4739 | 0.030328548 | 1382 | 1439 | Williams | 38105953701 | Block Group 1 |
| gain | 380170405011 | 406 | 4069 | 3663 | 0 | 406 | 406 | Cass | 38017040501 | Block Group 1 |
| gain | 381059537022 | 897 | 4411 | 3514 | 0.0000025984034 | 897 | 918 | Williams | 38105953702 | Block Group 2 |
| gain | 381059537013 | 1014 | 3983 | 2969 | 0.0007644653 | 1013 | 1057 | Williams | 38105953701 | Block Group 3 |
| gain | 380590203012 | 2177 | 5097 | 2920 | 0 | 2177 | 2177 | Morton | 38059020301 | Block Group 2 |
| gain | 380170405082 | 90 | 2917 | 2827 | 0.07744667 | 83 | 91 | Cass | 38017040508 | Block Group 2 |
| gain | 381010106022 | 1452 | 4185 | 2733 | 0.008953168 | 1439 | 1452 | Ward | 38101010602 | Block Group 2 |
| gain | 380150111052 | 671 | 3374 | 2703 | 0 | 671 | 671 | Burleigh | 38015011105 | Block Group 2 |
| gain | 380170405081 | 13 | 2670 | 2657 | 0.14240313 | 11 | 13 | Cass | 38017040508 | Block Group 1 |
| gain | 380150113002 | 1575 | 3818 | 2243 | 0 | 1575 | 1575 | Burleigh | 38015011300 | Block Group 2 |
| gain | 380539624003 | 512 | 2729 | 2217 | 0 | 512 | 512 | McKenzie | 38053962400 | Block Group 3 |
| gain | 380170405091 | 13 | 2179 | 2166 | 1 | 0 | 36 | Cass | 38017040509 | Block Group 1 |
| loss | 381010109021 | 2137 | 1151 | -986 | 0.0906068 | 1943 | 2700 | Ward | 38101010902 | Block Group 1 |
| loss | 380350103011 | 2244 | 1588 | -656 | 0.2080738 | 1777 | 2248 | Grand Forks | 38035010301 | Block Group 1 |
| loss | 381010104003 | 1501 | 1128 | -373 | 0.083796896 | 1375 | 1501 | Ward | 38101010400 | Block Group 3 |
| loss | 381010102004 | 1149 | 803 | -346 | 0.074906245 | 1063 | 1180 | Ward | 38101010200 | Block Group 4 |
| loss | 380799418005 | 1009 | 670 | -339 | 0 | 1009 | 1009 | Rolette | 38079941800 | Block Group 5 |
| loss | 380350119002 | 861 | 533 | -328 | 0.0009084065 | 860 | 989 | Grand Forks | 38035011900 | Block Group 2 |
| loss | 380170003003 | 1434 | 1140 | -294 | 0 | 1434 | 1434 | Cass | 38017000300 | Block Group 3 |
| loss | 380350103021 | 2686 | 2396 | -290 | 0.0015278872 | 2682 | 3153 | Grand Forks | 38035010302 | Block Group 1 |
| loss | 381010109023 | 712 | 425 | -287 | 0.4680033 | 379 | 905 | Ward | 38101010902 | Block Group 3 |
| loss | 380170405051 | 1863 | 1591 | -272 | 0.19898587 | 1492 | 1867 | Cass | 38017040505 | Block Group 1 |
| loss | 380170002033 | 1066 | 804 | -262 | 0 | 1066 | 1066 | Cass | 38017000203 | Block Group 3 |
| loss | 380579616002 | 1489 | 1231 | -258 | 0 | 1489 | 1489 | Mercer | 38057961600 | Block Group 2 |
Query 2 — Get distribution of change and statewide totals.
WITH c AS (
SELECT a.geoid,
a.pop_total p10,
b.pop_total p20,
b.pop_total - a.pop_total chg,
a.est_share
FROM nd_census_bg_decennial a
JOIN nd_census_bg_decennial b ON a.geoid = b.geoid
AND a.year = 2010
AND b.year = 2020
)
SELECT count(*) n,
sum(p10) p10,
sum(p20) p20,
count(*) FILTER (
WHERE chg > 0
) gained,
count(*) FILTER (
WHERE chg < 0
) lost,
count(*) FILTER (
WHERE chg = 0
) same,
count(*) FILTER (
WHERE chg >= 1000
) g1000,
count(*) FILTER (
WHERE chg BETWEEN 250 AND 999
) g250,
count(*) FILTER (
WHERE chg BETWEEN 1 AND 249
) g1,
count(*) FILTER (
WHERE chg BETWEEN -249 AND -1
) l1,
count(*) FILTER (
WHERE chg <= -250
) l250,
count(*) FILTER (
WHERE chg <= -500
) l500,
count(*) FILTER (
WHERE est_share > 0
) apportioned,
max(est_share) maxshare
FROM c
| n | p10 | p20 | gained | lost | same | g1000 | g250 | g1 | l1 | l250 | l500 | apportioned | maxshare |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 632 | 672592 | 779094 | 328 | 299 | 5 | 42 | 73 | 213 | 287 | 12 | 2 | 153 | 1 |
Query 3 — Find which city or CDP holds each top gainer/loser's internal point, for describing them.
SELECT g.geoid,
p.basename,
p.place_type
FROM nd_census_block_groups g
LEFT JOIN nd_census_places p ON ST_Intersects(p.geom, ST_SetSRID(ST_MakePoint(g.intptlon, g.intptlat), 4326))
WHERE g.geoid IN (
'381059537011',
'380170405011',
'381059537022',
'381059537013',
'380590203012',
'380170405082',
'381010106022',
'380150111052',
'380170405081',
'380150113002',
'380539624003',
'380170405091',
'381010109021',
'380350103011',
'381010104003',
'381010102004',
'380799418005',
'380350119002',
'380170003003',
'380350103021',
'381010109023',
'380170405051',
'380170002033',
'380579616002'
)
| geoid | basename | place_type |
|---|---|---|
| 380150111052 | Bismarck | incorporated |
| 380150113002 | ||
| 380170002033 | Fargo | incorporated |
| 380170003003 | Fargo | incorporated |
| 380170405011 | Fargo | incorporated |
| 380170405051 | Fargo | incorporated |
| 380170405081 | West Fargo | incorporated |
| 380170405082 | West Fargo | incorporated |
| 380170405091 | Fargo | incorporated |
| 380350103011 | Grand Forks | incorporated |
| 380350103021 | Grand Forks | incorporated |
| 380350119002 | Grand Forks AFB | cdp |
| 380539624003 | ||
| 380579616002 | ||
| 380590203012 | ||
| 380799418005 | Belcourt | cdp |
| 381010102004 | ||
| 381010104003 | Minot | incorporated |
| 381010106022 | ||
| 381010109021 | Minot AFB | cdp |
| 381010109023 | Minot AFB | cdp |
| 381059537011 | Williston | incorporated |
| 381059537013 | Williston | incorporated |
| 381059537022 | Williston | incorporated |
Query 4 — Find the nearest incorporated place for the top block groups outside city limits.
SELECT g.geoid,
p.basename,
round(
(
ST_Distance(
p.geom::geography,
ST_SetSRID(ST_MakePoint(g.intptlon, g.intptlat), 4326)::geography
) / 1000
)::numeric,
1
) km
FROM nd_census_block_groups g
CROSS JOIN LATERAL (
SELECT basename,
geom
FROM nd_census_places
WHERE place_type = 'incorporated'
ORDER BY geom <-> ST_SetSRID(ST_MakePoint(g.intptlon, g.intptlat), 4326)
LIMIT 1
) p
WHERE g.geoid IN (
'380150113002',
'380539624003',
'380579616002',
'380590203012',
'381010102004',
'381010106022'
)
| geoid | basename | km |
|---|---|---|
| 380150113002 | Lincoln | 2.6 |
| 380539624003 | Watford City | 0.3 |
| 380579616002 | Hazen | 1.6 |
| 380590203012 | Mandan | 2.0 |
| 381010102004 | Minot | 0.1 |
| 381010106022 | Minot | 0.9 |
Map Layer Queries
Population change, 2010–2020 census — colored by "cls": Lost 250 or more (#b2182b), Lost 50–249 (#ef8a62), Within ±49 (#f2f2f2), Gained 50–249 (#a6cee3), Gained 250–999 (#4393c3), Gained 1,000 or more (#08306b)
WITH c AS (
SELECT a.geoid,
a.pop_total p10,
b.pop_total p20,
b.pop_total - a.pop_total chg,
a.est_share,
a.pop_total_lower lo,
a.pop_total_upper hi
FROM nd_census_bg_decennial a
JOIN nd_census_bg_decennial b ON a.geoid = b.geoid
AND a.year = 2010
AND b.year = 2020
)
SELECT g.geom,
g.geoid AS "Block group",
g.county_name || ' County' AS "County",
c.p10 AS "2010 population",
c.p20 AS "2020 population",
c.chg AS "Change",
CASE
WHEN c.p10 > 0 THEN round(100.0 * c.chg / c.p10)::text || '%'
END AS "Percent change",
round(c.est_share::numeric, 2) AS "2010 share apportioned",
c.lo || '–' || c.hi AS "2010 bounds",
CASE
WHEN c.chg <= -250 THEN 'l250'
WHEN c.chg <= -50 THEN 'l50'
WHEN c.chg < 50 THEN 'flat'
WHEN c.chg < 250 THEN 'g50'
WHEN c.chg < 1000 THEN 'g250'
ELSE 'g1000'
END AS cls
FROM nd_census_block_groups g
JOIN c USING (geoid)
Picture: maps/turn-1-bg-pop-change-2010-2020.png
Ten largest gains and losses (outlined)
WITH c AS (
SELECT a.geoid,
b.pop_total - a.pop_total chg
FROM nd_census_bg_decennial a
JOIN nd_census_bg_decennial b ON a.geoid = b.geoid
AND a.year = 2010
AND b.year = 2020
),
r AS (
(
SELECT geoid,
chg,
'Top-10 gain' k
FROM c
ORDER BY chg DESC
LIMIT 10
)
UNION ALL
(
SELECT geoid,
chg,
'Top-10 loss'
FROM c
ORDER BY chg
LIMIT 10
)
)
SELECT g.geom,
g.geoid AS "Block group",
r.k AS "Rank group",
r.chg AS "Change"
FROM r
JOIN nd_census_block_groups g USING (geoid)
Picture: maps/turn-1-bg-pop-change-2010-2020.png
Used Data Sets
nd_census_bg_decennial— last synced 2026-10-16 · 2,520 rowsnd_census_block_groups— last synced 2026-09-27 · 632 rowsnd_census_places— last synced 2026-10-09 · 406 rows