Karpathy's Claude Code Maps 31 US Datasets

Andrej Karpathy used Claude Code to build an interactive map that reconciles 31 public US datasets onto a Civilization-style grid.

Updated on Nov. 28, 2026 in Artificial Intelligence

Vector editorial illustration of a grid of stacked tiles forming the outline of the United States, with taller blocks clustered in one region and a few gaps along the edges.
Andrej Karpathy used Claude Code to build an interactive map reconciling 31 public US datasets in roughly seven hours of agent work. AI Illustration. Upload story photo >

Live Poll

Would you trust AI-generated code without checking it yourself?

Andrej Karpathy had Claude Code run for seven hours to build an interactive web application that maps 31 US datasets in a Civilization-style format. The project produced approximately 45,000 lines of code, and Claude skipped a few states and territories.

Why it matters

The project shows how an AI coding agent can assemble a large, multi-source data application from public federal sources in a single extended session. It also illustrates the gaps that remain, since the agent omitted some states and territories.

The application runs on a 25-kilometer hexagonal grid with 19 visualization lenses, drawing on data from the U.S. Census Bureau, Bureau of Economic Analysis, Bureau of Labor Statistics, Energy Information Administration, U.S. Geological Survey, and Federal Emergency Management Agency. Which states and territories were omitted has not been specified.

The players

Andrej Karpathy

Andrej Karpathy is a prominent AI researcher and former director of AI at Tesla who has shared numerous AI-related projects publicly.

Claude Code

Claude Code is Anthropic's AI coding agent that writes and executes software development tasks autonomously.

The details

Karpathy had Claude Code, running Opus 5.5 at medium reasoning effort with ultracode enabled, build the application. The agent designated San Jose a Campus district because one in four of its workers are engineers, programmers, or scientists, and labeled Detroit 'Motor City.'

Timeline

  1. November 25, 2026: Karpathy posts about the project on X.

The Tech Race

The project extends the use of Claude Code, Anthropic's AI coding agent, from routine code generation toward building complete, data-driven applications in a single session. It sits within the wider competition among AI developers to automate longer and more complex software tasks.

The project suggests that AI coding agents may let individuals build data tools that previously required teams of developers. Karpathy has indicated the application could be expanded into a game, though no release timeline has been given.

The takeaway

Tools like Claude Code can now assemble multi-source data applications in hours, but users should verify coverage, since this project skipped some states and territories.

Further reading

Explore more Artificial Intelligence coverage for context on how AI tools are being applied to software and data projects.

Source note: This article includes information reported by The New Stack.

Live Poll

Would you trust AI-generated code without checking it yourself?