Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Working with Time

Public visualization

Fork of Working with Time

0 stars0🌍 Public
SSong Tao Chen
Last edited Jan 17, 2022
Created on Jan 17, 2022
Forked from Working with Time

This visualization shows the monthly totals of dead and missing migrants from the Data Canvas Sense Your City dataset. It uses a bar chart rendered as SVG with React components, where each bar aggregates the sum of fatalities per month. The code uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `bin`, `timeMonths`, and `sum` to bin the reported dates and compute monthly totals. Axes are drawn with custom React components, and the data is loaded asynchronously from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed