Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

C — USGS Earthquakes (Loader)

Public visualization

Viewing a saved revision (read-only)

7bc0555d76834f01abca8ef9f2ace299

C — USGS Earthquakes (Loader)

0 stars0🌍 Public
Aabhyudaithakur7@gmail.com
Last edited Sep 17, 2025
Created on Sep 16, 2025
Forked from Loading Data

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