Fork of The map of soldier data visualization in war - Napoleon's Russian campaign
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 descriptionNapoleon's Russian Campaign Visualization
This project recreates Charles Minard's famous 1869 flow map that depicts Napoleon's disastrous Russian campaign of 1812. The visualization shows both the diminishing size of Napoleon's army (the width of the path) and the dropping temperatures during the retreat (in the lower graph).
Minard's original visualization is considered a masterpiece of statistical graphics, combining six different data variables in a single two-dimensional image:
- The size of the army (represented by the width of the path)
- The location of the army (latitude and longitude)
- Direction of movement (advancing or retreating)
- Temperature during the retreat
- River crossings along the march
- Key dates and locations
This implementation uses D3.js to recreate this visualization in an interactive format.