Skip to main content
100%

Ep. 38 | Working with Time

✓ Published0🌍 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
MIT Licensed

Similar vizzes