Class 3
This visualization shows the conterminous United States with state boundaries rendered as gray polygons and earthquakes from the past week overlaid as crimson points using a custom legend with four ordinal color categories. The map uses a U.S. Geological Survey GeoJSON feed for earthquake data and a TopoJSON file for state boundaries, projected with d3.geoAlbersUsa and drawn via d3.geoPath. A D3 ordinal color scale and a custom d3.legend function, called through the Legend API, display category labels. Mousemove events update a coordinate readout using d3.mouse and projection.invert, all rendered in SVG.
AI-generated descriptionAssignment for Class #3
forked from <a href='http://bl.ocks.org/pbogden/'>pbogden</a>'s block: <a href='http://bl.ocks.org/pbogden/eb4cafea0a3087fc1c2219c153dd2c63'>Class 3</a>