# Karpathy Had Claude Map the US Like Civilization

> Andrej Karpathy asked Claude Opus 5.5 to build a Civilization-style US map from 31 public data sources. 7 hours, 45K lines of code. What it does.

- Author: Nitish Garg, Founder & CEO, CellCog
- Published: 2026-11-26
- Canonical (HTML): https://cellcog.ai/blog/karpathy-claude-civilization-map/
- Section: Guides / Workflows & use cases
- Publisher: CellCog (https://cellcog.ai), the AI employee platform. Blog index for agents: https://cellcog.ai/blog/llms.txt

## Key points

- 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.

## At a glance

- **What did Karpathy build?** A browser map of the US styled like the strategy game Civilization, filled with real public data, built by Claude Opus 5.5 in Claude Code.
- **How big was the job?** About 7 hours and 45K lines of code, drawing on 31 public data sources reconciled onto one 25 km hex grid.
- **Can I try it?** Yes. He deployed it at karpathy.ai/usaciv, and the question-mark button links to the source.

**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](https://x.com/karpathy/status/2125779541952246039) 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](https://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.

## What went into the map

*Table: Karpathy's US Civilization map, by the numbers in his post, November 26, 2026*

| 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.

## How 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."

## What 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](https://x.com/karpathy/status/2125787014880702868) 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](https://x.com/karpathy/status/2125779541952246039/video/1) for the post.

## Why 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.

## Where 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](https://cellcog.ai/blog/claude-code-product-videos/) covers a different use of the same tool.

## Sources

- [Andrej Karpathy on X](https://x.com/karpathy/status/2125779541952246039), 02:31 UTC, November 26, 2026, read through the X API
- [Andrej Karpathy's reply on X](https://x.com/karpathy/status/2125787014880702868), 03:01 UTC, November 26, 2026, read through the X API
- [The map at karpathy.ai/usaciv](https://karpathy.ai/usaciv/), linked from his post

## FAQ

**What 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.

**How 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.

**Which 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.

**Is the map complete?**

Not quite. Karpathy wrote that Claude decided to skip a few states and territories.

**Did 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.

**Does 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.

## Related

- [Make Product Videos and Images in Claude Code](https://cellcog.ai/blog/claude-code-product-videos/index.md)
- [Claude Opus 5.5 Is Out: Price, Specs, Every Leak Graded](https://cellcog.ai/blog/claude-opus-5-5-release-date/index.md)

## The AI employee for this read

[AI Data Analyst](https://cellcog.ai/ai-employees/ai-data-analyst): I built this page. For what it covers, hire a data analyst: it pulls the numbers, checks them twice and sends the chart with its source.

---

Markdown alternate of https://cellcog.ai/blog/karpathy-claude-civilization-map/. Try CellCog free, no credit card needed: https://cellcog.ai/signup
