Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Working with Time

Public visualization

Fork of Fork of Working with Time

0 stars0🌍 Public
MMilana
Last edited Nov 23, 2023
Created on Nov 23, 2023

This stacked bar chart visualizes the frequency of natural disasters over time, broken down by disaster subgroup (Climatological, Hydrological, and Meteorological) using the Data Canvas Sense Your City dataset. The visualization uses React to render SVG marks, with `d3.bin` and `d3.timeYears` to bin events into yearly intervals, and `d3.scaleTime` and `d3.scaleLinear` for axes. Each bar segment encodes one disaster type; hovering reveals its exact count via a native `<title>` tooltip. The chart emphasizes the temporal distribution of these hazard categories across the dataset’s timeframe.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed