Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Earthquake Scatter Plot

Public visualization

Viewing a saved revision (read-only)

f2133e44dd704a48a45880616de0ece2

Fork of Earthquake Scatter Plot

0 stars0🌍 Public
Llingjizhu@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This visualization displays recent earthquakes from the USGS feed, plotting magnitude over time. The main scatter plot uses color to categorize earthquakes by depth, with a legend that filters points on hover. A smaller context view below shows the same data for overview. The code uses D3's `scaleLinear`, `scaleOrdinal`, and `axisBottom` APIs within a custom `scatterPlot` module, and includes a tooltip showing earthquake details on mouseover.

AI-generated description