Skip to main content
100%

Missing Migrants Date Histogram

✓ Published1🌍 Public
RRMartins11
Last edited May 5, 2021
Created on May 5, 2021
Forked from Working with time

This visualization presents a histogram of missing migrants over time, aggregated by month, with bar heights representing the total number of dead or missing individuals. The chart uses a time-scaled x-axis and linear y-axis, with bars colored teal. Built with React and D3 v6, the code leverages d3.bin, d3.timeMonths, and d3.scaleTime to compute monthly bins, while d3.scaleLinear handles the count axis. The SVG rendering includes custom axis components that draw ticks and labels, and each bar includes a tooltip via an SVG title element. The data comes from the Missing Migrants dataset (Data Canvas Sense Your City).

AI-generated description
MIT Licensed

Similar vizzes