Fork
✓ Published0🌍 Public
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 descriptionMIT Licensed