Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

USA Death vs time

Public visualization

Viewing a saved revision (read-only)

fe4a9818638c458da7471b3a272f653c

USA Death vs time

0 stars0🌍 Public
PPavan Nimmagadda
Last edited Apr 25, 2024
Created on Apr 25, 2024

This example visualizes the total number of dead and missing migrants per month using a date histogram, highlighting the peak month in red. It employs D3's `scaleTime`, `scaleLinear`, `histogram` (via `d3.bin`), and `sum` functions to bin and aggregate data from the Missing Migrants Dataset. The rendering uses React with SVG, featuring interactive hover tooltips and zoom functionality through D3's `zoom` behavior. Axes are drawn with custom `AxisBottom` and `AxisLeft` components.

AI-generated description

A date histogram showing the sum total dead and missing migrants for each month.

Data from the Missing Migrants Dataset.

Demonstrates use of d3.bin and d3.sum.