Skip to main content
100%

Scatter Plot Mag Depth

✓ Published0🌍 Public
MMTClass
Last edited Mar 12, 2017
Created on Mar 12, 2017

This interactive scatter plot displays earthquake magnitude against depth using live USGS GeoJSON data for all earthquakes from the past day. Each circle represents a quake, positioned by its depth on the x-axis and magnitude on the y-axis, with hover tooltips revealing the exact values. Built with D3 v4, it uses `d3.json` for data loading, `d3.scaleLinear` for axis ranges, and SVG circle elements with `mouseover` and `mouseout` events to trigger the tooltip’s opacity transitions. The chart includes labeled axes with tick marks to facilitate comparison of seismic activity patterns.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes