Skip to main content
100%

Massachusetts Chrolopleth map add legend

✓ Published1🌍 Public
Wwenleicao
Last edited Oct 19, 2019
Created on Oct 18, 2019

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 description

This Map show county boundry of Massachusetts

MIT Licensed

Similar vizzes