Karpathy had Claude build a US data map in 7 hours
Thirty-one public datasets, one hex grid, and a weekly quota that ran half empty.
Andrej Karpathy asked Claude to populate a Civilization-style game map with real United States data, and says it worked after 7 hours and 45K lines of code. He credits Opus 5.5 running in the Claude Code desktop app, on medium, with ultracode turned on.
I only have half of my weekly Claude quote left though so someone else will have to take over
7 hours and 45K lines of code later... it works :)
The number that matters is 31. That is how many public data sources the model downloaded and parsed, including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA and CDC. Elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows and disasters all end up reconciled onto a single 25 km hex grid.
Translating statistics into game language
The mapping from data to game is the fun part. Gold yield is GDP. A city's districts are its real industry specializations, so San Jose gets a Campus and Detroit is "Motor city". Citizens are the real workforce, and Karpathy notes that 1 in 4 San Jose workers are engineers, coders or scientists against 1 in 14 nationally. Wonders are picked by published rules, national parks by visitor numbers and universities by R&D spending.
The finished thing carries 19 lenses covering income, degrees, faith and disasters among others, a City View for 524 metros, and nine advisors plus an Explorer that turns any column for any of 3,100 plus counties into a table and scatter plot linked back to the map. Claude also skipped a few states and territories, which Karpathy flags with a shrug rather than a fix. It is deployed, and the "?" in the app carries the source link. Claude made a trailer too.
Scope, not cleverness
Nothing here is algorithmically hard. Downloading three dozen federal datasets, working out their formats, and forcing them onto one common geography is the kind of work that normally eats a quarter and gets abandoned halfway. Karpathy's claim is that it is now one sitting, unattended, for one person who was not sure what he was building.
The constraint he hit was not capability. It was billing.
I only have half of my weekly Claude quote left though so someone else will have to take over
This is one person's result on one project, self-reported, with no independent check on how accurate the reconciliation actually is. Karpathy does not claim the data is correct, only that the thing works and is fun to browse. Anyone who wants to verify the joins against the original sources can, since the app links them.
Have the good opinion, not the loud one
One email a day. Under three minutes. What working engineers found out about coding with AI.
