Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork

Public visualization

Fork

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed