War Length vs Deaths Scatterplot
This scatterplot visualizes the relationship between war duration in years and the number of battle deaths, excluding WWI and WWII to avoid scale distortion. Each circle represents a conflict, with hover tooltips revealing the war’s name, duration, and death toll. Built with D3.js, it uses `scaleLinear` for axes, `csv` for data loading from Curran’s Repository, and SVG rendering. The chart includes labeled axes, a title, and custom tooltip styling via CSS.
AI-generated descriptionA basic visualization of the correlation between the duration of a war and the number of deaths in battle using HTML, CSS and JavaScript.
WWI and WWII are excluded because their total deaths so far exceed all other wars that the scale becomes entirely unreadable for a majority of the other wars.
Data set obtained from Curran's Repository.