Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Missing Migrants Bar Chart (binned)

Public visualization

Missing Migrants Bar Chart (binned)

0 stars0🌍 Public
RRichardPearce60
Last edited Apr 21, 2022
Created on Feb 28, 2022

This bar chart visualizes the monthly counts of dead and missing migrants, using binned time-series data from a CSV of global migrant incidents. The visualization aggregates reported dates into monthly bins via d3.bin and timeMonths, summing the "Total Dead and Missing" values per bin with d3.sum. A time scale maps dates to the x-axis, while a linear scale handles the y-axis counts. The React-based component renders SVG rectangles for each bin, with axes generated through custom components and D3's scaleTime, scaleLinear, and timeFormat utilities.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed