Skip to main content
100%

Fork

✓ Published0🌍 Public
Vveeramallivaishnavi3@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This visualization plots earthquakes from the past week, sourced from the USGS GeoJSON feed, showing magnitude against time. Circles are colored by depth category (shallow, intermediate, deep) via a color legend, and hovering over legend items dims unrelated points. A brushX interaction allows selecting a time range, which highlights corresponding earthquakes with a darker stroke. The code uses D3 v7 for scales, axes, and the brush, alongside a ResizeObserver for responsive sizing.

AI-generated description
MIT Licensed

Similar vizzes