Andrej Karpathy asked Claude to build a game map of the United States out of real data, and it did. In a post on X at 02:31 UTC on November 26, 2026, he wrote: “I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parse a ton of public data and 7 hours and 45K lines of code later… it works :)” The post passed 1.13 million views within half a day.
The result is deployed at karpathy.ai/usaciv. Everything below comes from his post and a reply, read through the X API; we have not audited the map’s numbers.
On this page · 6 sectionsOpen
Andrej Karpathy wrote on X at 02:31 UTC on November 26, 2026 that Claude Opus 5.5 built a Civilization-style map of the US from real public data in about 7 hours and 45K lines of code.
The map draws on 31 data sources, among them Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA and CDC, reconciled onto one 25 km hex grid.
Data becomes game language: Gold yield is GDP, a city’s districts are its real industry specializations and its citizens are its real workforce.
It has 19 lenses, a City View for 524 metros, nine advisors and an Explorer that turns any column for 3,100+ counties into a table and scatter plot.
He built it in the Claude Code desktop app with Opus 5.5 on medium, on his regular subscription, and says half of his weekly Claude quota is left.
Claude skipped a few states and territories, by his own account, and the map is live at karpathy.ai/usaciv with a 30-second trailer Claude also made.
§ 01What went into the map
| Item | What the post says |
|---|---|
| Build time | About 7 hours |
| Code | About 45K lines |
| Data sources | 31, including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC |
| Grid | One 25 km hex grid |
| Lenses | 19, among them income, degrees, faith and disasters |
| City View | 524 metros |
| Counties in the Explorer | 3,100+ |
| Advisors | Nine, plus an Explorer |
| Tooling | Claude Code desktop app, Opus 5.5 on medium |
| Quota used | About half of his weekly Claude quota |
The layers he lists are “Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows, disasters; all reconciled onto one 25 km hex grid.” That reconciling step is the hard part of any project like this: 31 agencies publish on different geographies, units and dates.
§ 02How data becomes game language
The map speaks Civilization. In his words: “Gold yield is GDP.” A city’s districts are its real industry specializations, so San Jose gets a Campus and Detroit becomes Motor city. Citizens are the real workforce, and wonders follow published rules, “such as national parks by visitor numbers and universities by R&D spending”.
His one worked number is San Jose: “1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally.” As shares, that is 25% against about 7.1%.
The Explorer is where the map turns into a research tool: it “turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map.”
§ 03What is missing
He is plain about the gaps. “Claude decided to skip a few states and territories sry,” he wrote, without naming them. He also does not know where it goes next: “Possibly it can be expanded or built into a game. I only have half of my weekly Claude quote left though so someone else will have to take over :D.”
Asked in a reply whether the work ran on an employer plan, he said: “this is a rando side project so it’s just my regular sub”. Claude also made a 30-second trailer for the post.
§ 04Why this one spread
The post is not a benchmark. It is a person with a normal subscription handing an agent a vague, large job (find the data, clean it, invent a design, ship it) and getting a working product the same evening. The open question for anyone repeating it is the one he flags himself: checking 45K lines and 31 joined datasets takes far longer than generating them.
§ 05Where CellCog stands
Claude Opus 5.5 is one of the models CellCog’s agents run on. We had no part in Karpathy’s project. Our page on making product videos with Claude Code covers a different use of the same tool.
§ 06Sources
- Andrej Karpathy on X, 02:31 UTC, November 26, 2026, read through the X API
- Andrej Karpathy’s reply on X, 03:01 UTC, November 26, 2026, read through the X API
- The map at karpathy.ai/usaciv, linked from his post
Q1What is Karpathy's Civilization map of the US?
A browsable map that turns real US data into the language of the game Civilization. Andrej Karpathy asked Claude to build it and shared it on X on November 26, 2026.
Q2How long did Claude take to build it?
Karpathy wrote that it took 7 hours and 45K lines of code, using Claude Code’s desktop app with Opus 5.5 on medium.
Q3Which data does it use?
31 public sources, including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA and CDC: elevation, land cover, GDP, jobs, power plants, ports, parks, universities, freight flows and disasters.
Q4Is the map complete?
Not quite. Karpathy wrote that Claude decided to skip a few states and territories.
Q5Did it need a special plan?
No. In a reply he said it ran on his regular subscription, and that he has half of his weekly Claude quota left.
Q6Does CellCog use Claude Opus 5.5?
Yes. Claude Opus 5.5 is one of the models CellCog’s agents run on. CellCog had no part in Karpathy’s project.
