Skip to main content
100%

Gist bb974dcf54acc39a81cb60d79bf0aa5c

✓ Published0🌍 Public
JJn1532
Last edited Feb 8, 2017
Created on Feb 8, 2017

This example plots earthquake epicenters as points on a map using GeoJSON features. It renders the geographic coordinates with `d3.geoPath` and a map projection, while each point is positioned via `d3.forceSimulation` to avoid overlapping labels. The visualization shows five recent seismic events, with the primary ID as magnitude and the secondary ID as a location description. The code uses D3’s force-directed layout to spread the point markers, and the map background likely comes from a geographic shapefile or topojson layer, making the data immediately readable by region.

AI-generated description

Similar vizzes