🌍 Public
Viewing a saved revision (read-only)
26fd22f8cee14e7ab9f142aaf066f828
Ver2 Earthquake Scatter Plot
This visualization plots earthquake magnitude against time using data from the USGS all-week GeoJSON feed, with points colored by depth category (shallow, intermediate, deep). The main scatter plot includes hover tooltips showing magnitude, location, time, and depth, while a context view below displays the full dataset with a d3.brushX selection that filters the primary view to a brushed time interval. Built with D3 v7 and React, the visualization uses scaleLinear, scaleOrdinal, and utcFormat to render the charts.
AI-generated descriptionTo do:
- change x axis value to readable time
- add brush to zoom. Idea from https://observablehq.com/@294bb65f21bfa9db/zoom-and-brush-poc