Skip to main content
100%

Tracking Migrant Deaths

✓ Published1🌍 Public
PPhronesis
Last edited Nov 24, 2021
Created on Nov 23, 2021
Forked from Working with Time

This visualization tracks migrant deaths and disappearances over time using a histogram of monthly totals. The bar chart displays the aggregate number of dead and missing individuals per month, with a native tooltip on each bar showing the exact date range and total. The code uses React and d3.v5, leveraging `d3.bin` with `d3.timeMonths` thresholds to bin the data by month, `d3.scaleTime` for the x-axis, and `d3.scaleLinear` for the y-axis. Data comes from a CSV of the Missing Migrants Global dataset, rendered as SVG rectangles with axes built from custom React components.

AI-generated description

Working with d3.scaleTime to display temperatures over days of the week.

MIT Licensed

Similar vizzes