Massachusetts Chrolopleth map add legend
✓ Published1🌍 Public
This choropleth map displays Massachusetts towns colored by county, with a color legend positioned on the left side of the canvas. The map uses a geoAlbers projection centered on the state and renders each town as an SVG path with a stroke. County assignments come from a CSV file that maps towns to counties, while the geographic boundaries come from a TopoJSON file. The ordinal color scale assigns distinct colors to each county, and the legend lists its domain values vertically. The visualization is built with React and D3 v5, using d3.geoPath for geometry and d3.scaleOrdinal for coloring.
AI-generated descriptionThis Map show county boundry of Massachusetts
MIT Licensed