🌍 Public
Viewing a saved revision (read-only)
3b98fc937b514fbaab97908bb2062db3
Fork of ver2 Earthquake Scatter Plot
This interactive scatter plot visualizes earthquakes from the past week using USGS GeoJSON data, mapping time on the x-axis and magnitude on the y-axis. Points are color-coded by depth category (shallow, intermediate, deep) via d3.scaleOrdinal. The chart uses d3.scaleTime, d3.scaleLinear, d3.axisLeft, and d3.axisBottom for rendering, with a d3.brushX brush for selecting time intervals and highlighting points with a black stroke. A color legend with hover interactions dims non-matching points using d3 transitions.
AI-generated description