🌍 Public
Viewing a saved revision (read-only)
7bc0555d76834f01abca8ef9f2ace299
C — USGS Earthquakes (Loader)
This example loads earthquake data from the USGS GeoJSON feed, fetching the M2.5+ 30-day summary directly via URL to avoid file upload limits. The code parses each feature’s time, magnitude, depth, coordinates, and place name into structured rows, then displays a count and a JSON preview of the first six records. It uses the Fetch API with `d3.json`-compatible `fetch().then(r => r.json())` and renders a proof-of-life layout with innerHTML, demonstrating data ingestion without any visualization yet.
AI-generated description