Skip to main content
100%

Fork of Ver6 Earthquakes_drb

✓ Published0🌍 Public
DDonald Bagwell
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Ver6 Earthquakes

This interactive visualization displays earthquake data from the USGS feed on an equirectangular world map, with tectonic plate boundaries overlaid. Users filter events by depth and magnitude through dropdown menus, while circle size encodes magnitude and color encodes depth category (shallow, intermediate, deep). The D3.js visualization supports dragging to rotate the globe, zooming, and clicking circles to open the USGS event page in a new tab. Hovering reveals a tooltip with magnitude, location, time, and depth. Data is fetched from the USGS GeoJSON API and the world atlas via `d3.geoEquirectangular` and `geoPath`.

AI-generated description

Previous 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

Similar vizzes