Back to the map

Sources

Where every number comes from

Sources every receipt

Every number on this site comes from a government agency's own published data. Federal, California, and New York numbers are typed in from official reports. Every other state, city, town, and county is pulled automatically from public datasets once a month.

The data

LevelWhat it coversYearSourceHow it updates
Nation All federal spending, actual Fiscal 2026 (Oct 2025 to Sep 2026) U.S. Treasury, Final Monthly Treasury Statement By hand, each October when the year closes
California State General Fund (paid mostly by income and sales tax), enacted budget Fiscal 2025-26 (Jul 2025 to Jun 2026) CA Department of Finance, as tabled in the Senate Republican Fiscal Office's 2025-26 budget analysis By hand, each summer
New York State funds, actual spending (cash basis) Fiscal 2026 (Apr 2025 to Mar 2026) NY State Comptroller, 2026 Financial Condition Report, Appendix 1 By hand, each summer
Every other state State government spending, including aid sent to cities, counties, and schools Fiscal 2022 U.S. Census Bureau, 2022 Census of Governments: Finance Automatically, monthly
California cities (all 482) Governmental funds, actual spending Fiscal 2023-24 California State Controller's Office, By the Numbers: City Expenditures (open data API) Automatically, monthly
Every other city, town, and village in the US Actual spending by function Fiscal 2022 U.S. Census Bureau, 2022 Census of Governments: Finance, Individual Unit File Automatically, monthly. The Census counts every government every five years
Counties Shown when a zip code has no city government (unincorporated areas) Fiscal 2022 U.S. Census Bureau, 2022 Census of Governments: Finance Automatically, monthly
Zip code to city Which city and county each zip code falls in. A zip counts as part of a city when the city covers at least 30% of its land 2020 U.S. Census Bureau, 2020 ZCTA relationship files Automatically, monthly
Map The location of every US zip code   zipcodes package, drawn with the d3-geo Albers USA projection When the package updates

How spending is sorted into categories

Each government labels its spending differently. We match their labels to our categories like this.

CategoryFederalStateCity
Roads & bridgesFederal Highway AdministrationTransportation (NY includes transit aid)Streets, highways, storm drains, street lights, parking
Public transitFederal Transit Administration, railNot separated in state reportsPublic transit systems
Parks & recreationNational Park ServiceGrouped with environmentParks, community centers, golf courses, marinas
EducationDepartment of EducationSchools, community colleges, universitiesSchools, where the city runs them (like New York City)
Housing & homelessnessDepartment of Housing and Urban DevelopmentHousing programsHousing and redevelopment
Emergency servicesFEMA Fire, paramedics, disaster preparedness
Police & public safetyDepartment of Justice, Homeland Security (minus FEMA)Prisons, courts, state policePolice, jails, courts, animal control, inspections
Libraries & cultureSmithsonian, Library of Congress, NEA, NEH Libraries and museums
Public healthMedicare, Medicaid, NIH, CDCMedicaid / Medi-Cal and public health (for states from the Census, all welfare payments, which are mostly Medicaid)Health departments and hospitals
Water & environmentEPA, Interior, Army Corps of EngineersNatural resources, CAL FIRE, environmentSewers, garbage, natural resources
Government operationsCongress, federal courts, IRS operationsLegislature, governor, state operationsCouncil, city manager, finance, planning, buildings
Defense & veteransMilitary and Veterans Affairs  
Social SecuritySocial Security  
Safety netFood aid, tax credits, unemploymentWelfare, in-home care, developmental servicesWelfare and job programs
Paying off debtInterest on the national debtBond paymentsDebt payments
Everything elseScience, agriculture, foreign aid, and the restBusiness regulation, revenue sharingAnything without a clear category

What's left out

  • City-run utilities, airports, and seaports. Customer bills and fees pay for these, not taxes.
  • Federal money passed through to states. It's counted once, at the federal level.
  • School districts and special districts (like transit or water districts). They're separate governments with their own budgets.
  • Counties, unless the zip code has no city government. Where there's a city, the site shows the city, even though the county also serves those residents.

Keeping it current

City numbers are rebuilt automatically on the first of every month by a script that runs on GitHub (scripts/build-city-data.mjs). It downloads both datasets, sorts each line into a category, and saves the results with the site. Federal and state numbers are updated by hand when each new year's report comes out.

Numbers are rounded, and a few categories are judgment calls. This site is for learning, not tax or financial advice.

Credits