Skip to main content
100%

Missing migrants

✓ Published0🌍 Public
MmohitPassan
Last edited May 9, 2021
Created on May 7, 2021
Forked from Working with time

This visualization shows the total number of dead and missing migrants reported per month, using a bar chart where each bar aggregates monthly totals. The code loads a CSV dataset of migrant incidents, bins the reported dates into monthly intervals using `d3.bin` with `timeMonths` thresholds, and sums the "Total Dead and Missing" values per bin. React manages the component state while D3 scales (`scaleTime`, `scaleLinear`) and axes render the SVG output. Axes are formatted with `timeFormat`, and tooltips display raw values via SVG `<title>` elements.

AI-generated description

Scatter plot of temperature dataset using d3 and keeps track using react

MIT Licensed

Similar vizzes