Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Course - Missing Migrants Date Histogram

Public visualization

D3 Course - Missing Migrants Date Histogram

0 stars0🌍 Public
JJames Rhodes
Last edited Apr 12, 2022
Created on Apr 12, 2022

This interactive visualization displays a date histogram of the monthly total dead and missing migrants, using data from the Missing Migrants Dataset. The chart employs React with D3 v5 to build an SVG visualization, using `d3.bin` to group records into monthly bins and `d3.sum` to aggregate the death counts. Axes and rectangular marks are generated through custom React components, with tooltips exposing precise values via SVG `<title>` elements. The time scale is formatted with `d3.timeFormat` and the visualization leverages `d3.scaleTime` and `d3.scaleLinear` for proportional mapping.

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