Skip to main content
100%

shivani map 2 Fork of Vanilla D3 Vibecoding Template

✓ Published1🌍 Public
Bbodushivani2601@gmail.com
Last edited Nov 9, 2025
Created on Nov 9, 2025

A U.S. state population choropleth map visualizes 2020 Census data using a log-scaled color gradient. The map renders states as SVG paths via `d3.geoPath` with an Albers USA projection, coloring each state through `d3.scaleLog` and the `d3.interpolateYlGnBu` interpolator. Hovering highlights state borders and shows a tooltip with the population value. The map also includes a gradient legend with log-spaced color stops. The code loads TopoJSON data from the us-atlas package and uses D3 v7.

AI-generated description
MIT Licensed

Similar vizzes