Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US states map : with colorScale. One color for each country

Public visualization

Viewing a saved revision (read-only)

9182d323e51b4863912e0647e56602ab

US states map : with colorScale. One color for each country

1 star0🌍 Public
Aanduskong
Last edited Dec 16, 2020
Created on Dec 16, 2020

This example displays a choropleth map of US states, with each state assigned a distinct color from the d3.scaleOrdinal and schemeCategory10 palette. Hovering over a state turns it green, providing interactive feedback. The map is rendered as SVG paths using d3.geoPath with a geoAlbersUsa projection, processing TopoJSON county data from the us-atlas dataset. State names are included as tooltips via appended title elements.

AI-generated description