Skip to main content
100%

map Fork of Vanilla D3 Vibecoding Template

✓ Published1🌍 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
MIT Licensed

Similar vizzes