🌍 Public
Viewing a saved revision (read-only)
ee9e39f34fd74a3b99a6579d4f6eb8d6
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 interactive D3.js v7 visualization recreates Minard’s classic flow map of Napoleon’s 1812 Russian campaign, showing the shrinking army as a colored path whose width encodes troop counts and whose color distinguishes advance from retreat. A lower temperature chart plots the dropping Réaumur readings with dashed connecting lines back to the map. The code uses `d3.csvParse` to load embedded troop, temperature, city, and river data, then renders SVG paths with `d3.group` and `.selectAll().data()` for dynamic annotations and tooltips.
AI-generated description