Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fixed projection for US States

Public visualization

Fixed projection for US States

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed