classwork 8
✓ Published0🌍 Public
AAnaMal08
Last edited Mar 31, 2017
Created on Mar 31, 2017
This example shows earthquake activity in Oklahoma on a map. The map is rendered with OpenStreetMap tiles and a vector overlay of state borders. The code uses the `d3.geoMercator` projection, `d3.geoPath`, and `d3.tile` to create the base map. It filters earthquakes from the USGS GeoJSON feed using `d3.geoContains` to show only quakes within Oklahoma. The quakes are drawn as crimson paths, while the street data comes from a TopoJSON source.
AI-generated description