Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ep. 38 | Working with Time

Public visualization

Viewing a saved revision (read-only)

072ec10f682443aa9b2add176f782022

Ep. 38 | Working with Time

0 stars0🌍 Public
YYee Han
Last edited Jan 4, 2021
Created on Dec 31, 2020

This visualization shows the total dead and missing migrants over time as a histogram, where each bar aggregates the total for a month. The chart uses a scatter plot dataset sourced from Data Canvas Sense Your City, displayed as SVG in React. It employs D3 v5 APIs including `scaleTime`, `scaleLinear`, `timeMonths`, `histogram`, and `extent` to bin the dates into monthly intervals. The y-axis sums the casualties per bin via `sum`, with tooltips on each bar. Axes are custom drawn using React components.

AI-generated description