d3 Choropleth Map
✓ Published0🌍 Public
This example displays Massachusetts town boundaries as a choropleth map using two different projections: a U.S.-oriented Albers projection and a Massachusetts-specific conic conformal projection. The code loads TopoJSON geographic data and renders map outlines with `d3.geoPath` and `d3.geoConicConformal`. A color legend module (`colorLegend`) adds a visual key with circles and text, while hover interactions highlight regions via CSS. The visualization uses SVG rendering with D3 v5 and TopoJSON utilities.
AI-generated descriptionMIT Licensed