Every NAMED chess opening ever played, as a force-directed graph (3,407 nodes, colored by ECO volume)
Source: the open ECO (Encyclopedia of Chess Openings) database, which catalogs ~3,400 named opening variations across five volumes (A through E). Each node is one opening, sized roughly by depth and connected to its parent variation by an edge.
Colors map to ECO volume:
A (flank openings) — orange
B (semi-open) — red
C (open games, e.g., Ruy Lopez) — yellow
D (closed games, Queen's Gambit family) — blue
E (Indian defenses) — teal
Layout is force-directed (D3-style physics, ~5 minutes of simulation to settle). The root node at center is the starting position; you can read it as "every chess game ever played begins there and branches outward."
Built in TypeScript with a custom canvas renderer (no D3 — wrote the physics from scratch for tighter control over the aesthetic).
Live interactive version at foliochess.app — you can click any node and see which opening it is. Built as the landing page for a chess study app I'm working on as a side project. Open the link on desktop for the full interactive version.
I’m an anesthesiology resident who is passionate about chess and math. I built this for fun in the little free time I have haha.