Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

8f92e88af2874bf09791eced01d3cd4f

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

0 stars0🌍 Public
Nnagamaheswar
Last edited Apr 1, 2022
Created on Apr 1, 2022

This visualization displays a choropleth map of US states, where each state is filled with a distinct color from a categorical palette. The map uses the d3.geoAlbersUsa projection to render the geographic boundaries as SVG paths. Data is loaded from the us-atlas counties-10m.json file, with state names mapped to colors via d3.scaleOrdinal. States turn blue on hover, using CSS styling within the d3.select, d3.geoPath, and d3.json workflow.

AI-generated description