Skip to main content
100%

Fixed projection for US States

✓ Published1🌍 Public
Jjons288
Last edited Oct 17, 2018
Created on Oct 17, 2018

This example displays US states grouped into four census regions—Northeast, Midwest, South, and West—each filled with a distinct color. It uses d3.json to load the TopoJSON file, topojson.merge to combine state geometries by region, and d3.geoPath to render the resulting shapes as SVG paths. State groupings are defined using d3.set of FIPS codes, and CSS classes control the fill colors.

AI-generated description
MIT Licensed

Similar vizzes