🌍 Public
Viewing a saved revision (read-only)
d1986864fa8d491fa462e66407be6e34
Earthquakes on Map
This map visualizes global earthquake activity from the past week, highlighting that most events cluster along tectonic plate boundaries, particularly around the Pacific Ocean. Circle size corresponds to magnitude, while color indicates depth category (shallow, intermediate, deep). The visualization uses D3’s geoEquirectangular projection, fetch and json for loading data from the USGS earthquake feed and tectonic plate GeoJSON, and includes dropdown menus to filter by depth and magnitude. Users can click circles to open earthquake detail pages, drag to rotate the globe, and zoom via D3’s zoom and drag interactions.
AI-generated descriptionPrevious version
- use data from an API
- circle size related to magnitude value
- interaction: click circle and direct to a url
- added color to the circles, according to depth (shallow, intermediate, deep)
- added interaction: dragging to make the earth turn left and right.
Updated version
- added dropdown menus. User can select to view earthquakes by choosing depth and magnitude.
- fixed coding error on the colorscale
- added tooltip
MIT Licensed