Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

map Fork of Vanilla D3 Vibecoding Template

Public visualization

map Fork of Vanilla D3 Vibecoding Template

0 stars1๐ŸŒ Public
Kkruthanreddy812@gmail.com
Last edited Apr 8, 2026
Created on Apr 8, 2026

This choropleth maps U.S. state populations using a log-scaled color gradient, with lighter blues representing smaller populations and darker teals for larger ones. It loads TopoJSON state boundaries via d3.json and topojson, projects them with d3.geoPath and the geoAlbersUsa projection, and colors each path by matching FIPS IDs to 2020 Census data. A linear gradient legend shows the log-spaced color scale, while native SVG title elements provide hover tooltips with formatted population values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed