Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Missing Migrants Date Histogram

Public visualization

Fork of Missing Migrants Date Histogram

0 stars0🌍 Public
MMATTE-blz
Last edited Apr 22, 2021
Created on Apr 22, 2021

This visualization shows monthly totals of dead and missing migrants from the Missing Migrants Dataset. It renders a bar chart as SVG, with time on the x-axis and cumulative deaths per month on the y-axis. Built with React and D3 v5, the code uses `d3.bin` with `timeMonths` thresholds to aggregate data, `d3.sum` to calculate monthly totals, and `scaleTime` and `scaleLinear` for axes. Hovering over a bar reveals its exact total via a native SVG `<title>` tooltip.

AI-generated description

A date histogram showing the sum total dead and missing migrants for each month.

Data from the Missing Migrants Dataset.

Demonstrates use of d3.bin and d3.sum.

Comments

Sign in to join the discussion.

MIT Licensed