USACiv

Data map explainer

How usaciv works: the US data map explained

Checked 27 November 2026

How usaciv works: it turns the United States into a free browser map built from public data. One 25 km hex grid holds real layers, cities carry yields, and City View, lenses, advisors and an almanac let you inspect the result.

What usaciv is

Andrej Karpathy's public post says he asked Claude to populate a Civilization-style game map with real US data. The data becomes yields through that build: public layers are translated into map values rather than a separate simulation. The project reconciles 31 public sources onto one 25 km hex grid.

You open the map in a browser; the about page and FAQ explain the project and its data limits. The first view shows three things.

How usaciv works on one hex grid

The build puts every layer on the same cells so a city, a power plant and a park can share one coordinate system. That shared grid is what makes the map comparable across themes.

Where the data comes from

The project names public data such as Census ACS, BEA, BLS, EIA, NOAA and USGS as inputs. Each layer adds a different public measure to the same grid.

Layer family Examples on the map
Terrain elevation, land cover
Economy GDP, jobs
Infrastructure power plants, mines, ports, airports, bases
Public assets parks, universities
Flows and hazards freight flows, disasters

The grid is the join key: it lets a park, a port and a power plant appear in the same view without a separate scene.

How data becomes yields: gold and districts

In usaciv, a city's gold yield is its GDP. Districts are chosen from a city's real industry mix.

Citizens represent the real workforce, and the national comparison is one in 14 workers in engineering, coding or science.

City Label How to reach it Key figure
New York Finance Capital City View 20.1 million people; $2.44 trillion GDP
San Jose Campus City View 1 in 4 workers in engineering, coding or science
Detroit Motor city City View real industry specialization

The table shows three labels; the rules above explain how the map assigns them.

How usaciv works in City View and the Explorer

City View covers 524 metro areas and gives each one a focused readout. The Explorer sits at the county level for any of 3,100+ counties, so the same build supports metro and county reading.

That split keeps metro totals and county detail on the same map.

Lenses, advisors and wonders

Lenses cover themes such as income, degrees, faith and disasters, and wonders follow published rules.

What usaciv is not

Treat the map as a public-data atlas with a Civilization-style surface. Karpathy frames it as an interactive data map, not a game with a known rule set, so read the labels as data values rather than as a playable system.

Frequently asked questions

Does usaciv need an account?

No. The map is available in a browser without registration.

Are the map's figures national totals?

No. The data only counts sites above a size threshold, so figures are not national totals.

What does the MIT license cover?

The source code ships in an archive under the MIT license.

What if a state or territory is missing?

The author noted that the build skipped a few states and territories, so coverage is not complete.

What does the Explorer do with a county column?

It turns any column for any of 3,100+ counties into a table and a scatter plot.

How many lenses and advisors does the map have?

The build ships 19 lenses and nine advisors. This is part of how usaciv works at the map level.

Sources

More usaciv guides

    Open the usaciv map or see all guides.