Fork of ver2 Earthquake Scatter Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed