Skip to main content
100%

Histogram, Binned Data, Missing Migrants (codeAlong)

✓ Published0🌍 Public
Ttomahawk-jupiter
Last edited Jun 16, 2021
Created on Jun 10, 2021

This histogram visualizes the total number of dead and missing migrants per month, using data from the Missing Migrants Project. The code relies on d3.histogram to bin the reported dates into monthly intervals and d3.sum to aggregate the death counts within each bin. React renders the SVG axes and rectangular marks, while d3.scaleTime and d3.scaleLinear map the time and count scales.

AI-generated description

Changing the scatter plot to take in new data with time being on the x axis.

MIT Licensed

Similar vizzes