Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US States Colored By Region

Public visualization

Viewing a saved revision (read-only)

ea6b6a37c5e54a08af5617c9931b31d8

US States Colored By Region

0 stars1🌍 Public
Jjons288
Last edited Nov 7, 2018
Created on Oct 17, 2018

This map of US states categorizes each region with a distinct color: the Northeast in blue, the Midwest in teal, the South in green, and the West in light blue. It uses D3 v5 with TopoJSON to load and render the states, applying `d3.geoPath` to draw each selected region. The code filters state geometries by region sets and merges them separately to color the paths via CSS classes. Data comes from the US 10m TopoJSON file hosted on d3js.org.

AI-generated description