Skip to main content
100%

React Histogram chart

✓ Published0🌍 Public
SSuperShreejit
Last edited May 16, 2022
Created on May 16, 2022
Forked from React Line chart

This interactive histogram visualizes monthly migrant deaths and missing persons from a 2019 global dataset. Built with React and rendered as SVG, the chart uses D3’s `scaleTime`, `scaleLinear`, `bin`, and `timeMonths` APIs to bin reported dates into monthly intervals and sum the corresponding death counts. Each bar’s height and position derive from the linear y-scale and time x-scale, with tooltips revealing exact values and dates. Data is loaded via D3’s `csv` from a GitHub gist.

AI-generated description

A Migrants death histogram-chart Migrants Death: data

MIT Licensed

Similar vizzes