The conversation

Andrej Karpathy

He wrote that he asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parsed a large amount of public data, and after about seven hours and about 45,000 lines of code, it works.

He listed 31 real data sources, including Census, BEA, BLS, EIA, NOAA and USGS, with elevation, land cover, GDP, jobs, power plants and more reconciled onto a 25 km hex grid and translated into Civilization-style language, for example with gold yield standing for GDP and city districts standing for real industry specializations. He also described 19 lenses, a city view for 524 metros, and noted that Claude skipped a few states and territories. It is deployed at https://karpathy.ai/usaciv/.

Context: the image is a still of the game-style map, not a photo of him.

Original wording

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 :)

- 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC...
- 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.
- The data is converted into Civilization language, e.g. Gold yield is GDP. A city's districts are its real industry specializations: San Jose gets a Campus, Detroit is "Motor city". Its citizens are its real workforce: 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. Wonders are chosen by published rules, such as national parks by visitor numbers and universities by R&D spending, etc etc.
- 19 lenses (income, degrees, faith, disasters…), a City View for 524 metros, and nine advisors plus an Explorer. The Explorer turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map.
- Claude decided to skip a few states and territories sry
- Built using Claude Code desktop app, Opus 5.5 on medium and turning on ultracode.

It's deployed here: https://t.co/QMhmafXMj5 and the "?" has the source link too. I don't exactly know where I was going with this but it's really fun to browse and play with. 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. Claude also made a trailer:

A still of a Civilization-style game map of the United States on a hex grid. This is not a photo of Andrej Karpathy.
A game-style map still, not a photo of him.專案畫面

The takeaway

He wrote that he asked Claude to populate a Civilization-style game map with real US data. After about seven hours, about 45,000 lines of code and 31 public data sources, it works. The image is a game-style map still, not a photo of him. The project is at https://karpathy.ai/usaciv/