Choose an area and a period
Loading the estimates.
Key numbers
- Population
- Total change
- Natural change
- Net migration
Where the change came from
Population on July 1 of each year
Percent change by jurisdiction
How Maryland compares
Rank is by percent change among the 50 states and D.C. Moves between states cancel out for the United States as a whole, so its net domestic migration is zero.
Ask the data
Ask about population, births, deaths, migration or change for Maryland, its regions and its 24 jurisdictions, 2020 to 2025. Every number in an answer comes straight from the Census table on this page.
All the numbers
One row for each jurisdiction, with the Maryland total in the last row. Select a column heading to sort.
About this prototype
Accessibility
The page aims to meet WCAG 2.1 AA. It passes automated axe checks in light and dark mode and at phone width, and its keyboard paths are tested. A full manual review, including with screen readers, would be the next step before publishing.
- Everything works with a keyboard alone. Tab moves between the controls, charts, assistant and table, and the arrow keys step through the values inside a chart. Focus never gets stuck in a chart.
- Every focusable item shows a clear outline when it has focus. Chart details appear in a line under each chart, so nothing pops up over the data.
- Color is never the only cue. Every bar has its value written next to it with a plus or minus sign, and gains and losses sit on opposite sides of a zero line.
- Each chart has a plain-language description of what it shows. Every jurisdiction's numbers are in a sortable table, and every value is in the CSV download.
- The data download sits above the charts, so keyboard users reach it before any chart.
- Text and chart colors meet AA contrast in light and dark mode, and the page fits a phone screen without sideways scrolling (wide tables scroll inside their own boxes).
How the assistant works
The page reads common questions itself. For anything else, Google's Gemini model turns the question into a short lookup (which measure, which places, which years), and the page checks that lookup before using it. The model never writes the numbers: every figure in an answer is calculated from the same Census table as the charts, and each answer shows what was looked up and where the numbers come from. If the model isn't available, the assistant still answers the questions it can read on its own.
Easy to keep current
The data comes from one file, the Census Bureau's county estimates file. When the next vintage comes out,
running one command (python3 scripts/build_data.py with the new Census file) rebuilds the data
the page, the assistant and the CSV use. The page is a set of static files (HTML, CSS and JavaScript) with no
outside libraries.
Source
U.S. Census Bureau, Population Estimates Program, Vintage 2025 county population totals and components of change (census.gov, file co-est2025-alldata.csv). Natural change is births minus deaths. Net migration is net international migration plus net domestic migration. The Census Bureau also applies a small residual so that the parts add up to the total change. The CSV download opens directly in a spreadsheet; notes on its columns are in a separate text file.
Use the arrow keys to move through the values. The same numbers are in the table below the charts.