Skip to main content
100%

[SR] Missing Migrants Line Chart

✓ Published0🌍 Public
Ssuserocc
Last edited Mar 5, 2021
Created on Mar 5, 2021

This chart visualizes the total number of dead and missing migrants over time, using a bar chart with an overlaid line to show the trend. The data is binned into monthly intervals using D3’s `bin` and `timeMonths` functions, with bar heights representing the monthly sum and a natural curve line connecting the values. Built with React and D3 v6, it uses `scaleTime` and `scaleLinear` for axes, rendered as an SVG with custom axis components. The tooltip on each bar displays the exact monthly total.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes