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)

e628fd74961d484f9f8817f472f85d44

Fork of Missing Migrants Date Histogram

0 stars0🌍 Public
Hhienng9
Last edited Aug 24, 2023
Created on Aug 24, 2023

This visualization shows the total number of dead and missing migrants per month over time, using a date histogram built with React and D3 v5. The code employs `d3.bin` with `timeMonths` thresholds to group data into monthly bins and `d3.sum` to aggregate the “Total Dead and Missing” values within each bin. Axes are rendered as SVG elements using reusable React components, with scales created via `d3.scaleTime` and `d3.scaleLinear`. Data comes from the Missing Migrants Dataset loaded through `d3.csv`.

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.