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
EEdgar Alves
Last edited Apr 20, 2021
Created on Apr 20, 2021

This visualization displays the monthly total of dead and missing migrants using a histogram built with React and D3 v5. The code uses `d3.bin` to group data by month via `timeMonths` thresholds and `d3.sum` to aggregate the "Total Dead and Missing" values for each bin. SVG rectangles render the bars with axes from `AxisBottom` and `AxisLeft`, while data comes from the Missing Migrants Dataset loaded through `csv`. Tooltips appear via SVG `<title>` elements, and the chart includes axis labels for time and casualty counts.

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