Skip to main content
100%

Assignment 9

✓ Published0🌍 Public
MMTClass
Last edited Apr 7, 2017
Created on Apr 4, 2017

This interactive map displays earthquake locations from the USGS weekly feed overlaid on OpenStreetMap raster tiles and U.S. state boundaries from TopoJSON. Users can pan and zoom via d3.zoom, with d3-tile loading map tiles and d3.geoPath reprojecting the vector geometry on each interaction. The map also shows the geographic coordinates of the mouse cursor in real time.

AI-generated description

Using d3-tile to display raster image tiles underneath some TopoJSON vectors, and d3-zoom for pan & zoom. This version reprojects the geometry on interaction; compare to updating the transform. See another variation of this example with points, showing the U.S. State Capitals; also see the static version.

Tiles copyright OpenStreetMap contributors.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/5342063'>Raster & Vector II</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/370e02ad1c699502b6e4b1307359c679'>Raster & Vector II</a>

gpl-3.0 Licensed

Similar vizzes