Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

[SR] Missing Migrants Line Chart

Public visualization

[SR] Missing Migrants Line Chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed