Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of State Map with Population - Rajan

Public visualization

Viewing a saved revision (read-only)

d6392f8e64ee4914b1064da8b46ab506

Fork of State Map with Population - Rajan

0 stars2🌍 Public
Kkhushburajan2015@gmail.com
Last edited Nov 6, 2025
Created on Nov 6, 2025

A fork of a U.S. state map choropleth visualizes state population data using a blue sequential color scale. The visualization loads TopoJSON from the `us-atlas` package and a text file of state populations, parsing both via `Promise.all` and `d3.json`/`d3.text`. It projects boundaries with `d3.geoAlbersUsa` and `d3.geoPath`, and maps FIPS codes to state names via a lookup table. Users inspect values through an HTML tooltip triggered by mouseover, with SVG rendering for all map elements.

AI-generated description