Skip to main content
100%

class 3 - states

✓ Published0🌍 Public
MMTClass
Last edited Feb 24, 2017
Created on Feb 24, 2017

This example displays a map of the United States with earthquake locations overlaid as crimson points. The map is rendered using SVG paths created with `d3.geoPath` and a `d3.geoAlbersUsa` projection, while earthquake data is loaded from the USGS GeoJSON feed and plotted with the same path generator. The visualization also shows the latitude and longitude of the mouse cursor in a separate text element, using the projection’s `invert` method to translate screen coordinates to geographic coordinates.

AI-generated description

Similar vizzes