🌍 Public
Viewing a saved revision (read-only)
f2e30de195e94764a931f6ce8af824a5
Fork of Fork of Fork of Fork of The map of soldier data visualization in war - Napoleon's Russian campaign
NNita
Last edited Jun 17, 2025
Created on Jun 17, 2025
This D3.js visualization replays Napoleon’s 1812 Russian campaign with a Minard-inspired flow map, showing troop strength as area-proportional bands that first advance toward Moscow and then retreat westward, paired with a temperature chart tracing the freezing retreat. The code builds the army streams using `d3.area` with a Catmull-Rom curve, parses embedded CSV data for troops, cities, rivers, and temperatures, and adds interactive tooltips—driven by `d3.select` and `d3.transition`—plus hover highlights and animated styling from the included CSS.
AI-generated description