Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Missing Migrants Date Histogram

Public visualization

Viewing a saved revision (read-only)

d54f6c62f7e8426088b945a03fa06593

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.