Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Working with Time

Public visualization

Viewing a saved revision (read-only)

fb6c301c2ddb41d88ad830b60b449706

Fork of Working with Time

0 stars0🌍 Public
Ssophievanderhorst
Last edited Apr 2, 2021
Created on Apr 2, 2021
Forked from Working with Time

This visualization is a bar chart that aggregates monthly totals of dead and missing migrants from the Data Canvas Sense Your City dataset, showing the sum of casualties over time. The x-axis uses a time scale with monthly bins, while the y-axis uses a linear scale for the count. Built with React and D3 v5, the code leverages `scaleTime`, `histogram` with `timeMonths` thresholds, and `sum` to bin and aggregate the data. SVG rectangles render the bars, with axes generated by custom `AxisBottom` and `AxisLeft` components.

AI-generated description