Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Histogram chart

Public visualization

Viewing a saved revision (read-only)

c4781fc42c4346bdba649c834a5dee3d

React Histogram chart

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