Skip to main content
100%

Fork of The map of soldier data visualization in war - Napoleon's Russian campaign

✓ Published1🌍 Public
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

Napoleon'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:

  1. The size of the army (represented by the width of the path)
  2. The location of the army (latitude and longitude)
  3. Direction of movement (advancing or retreating)
  4. Temperature during the retreat
  5. River crossings along the march
  6. Key dates and locations

This implementation uses D3.js to recreate this visualization in an interactive format.

MIT Licensed

Similar vizzes