Skip to main content
100%

d3 Choropleth Map

✓ Published0🌍 Public
NNilla
Last edited Mar 28, 2019
Created on Mar 28, 2019
Forked from d3 Choropleth Map

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 description
MIT Licensed

Similar vizzes