Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork

Public visualization

Viewing a saved revision (read-only)

52d779fd04424c489d7e0784049fc41a

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