Natural disaster death over years
✓ Published1🌍 Public
This animated scatter plot displays deaths from natural disasters over time, with each circle representing a recorded event colored by disaster type (drought, earthquake, epidemic, or extreme temperature). The visualization uses D3.js v5 with SVG rendering, and users can click legend items to highlight specific categories while dimming others. The chart includes axis labels, a title, and a hover tooltip showing event details. Data comes from Our World in Data, and the code uses d3.scaleLinear, d3.scaleOrdinal, d3.axisBottom, d3.axisLeft, and event handlers for interactivity.
AI-generated descriptionThis scatter plot shows data about deaths from natural disaster over years. The data is from Our World in Data: Natural Catastrophe.
Thanks to idea from Jonathan Wang.
MIT Licensed