Skip to main content
100%

missing migrants with Curran

✓ Published0🌍 Public
GGuitong Li
Last edited Feb 9, 2022
Created on Feb 9, 2022

This histogram visualizes the total number of dead and missing migrants per month, using data from the Missing Migrants Global 2019 subset. The code applies `d3.histogram` with `d3.timeMonths` thresholds to bin the data, then maps each bin to a rectangle whose height reflects the summed monthly fatalities. Axes are custom-rendered with React components, using `d3.scaleTime` and `d3.scaleLinear` for the x and y scales respectively. The visualization is rendered as SVG within a React application, with data loaded via `d3.csv`.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes