Skip to main content
100%

Fork of D3 Starter

✓ Published1🌍 Public
Vvydeeshm@gmail.com
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from D3 Starter

This choropleth maps crime rates per 100,000 people across U.S. states, coloring each state on a red-orange gradient from low to high values. The map uses an Albers USA projection via `d3.geoAlbersUsa()`, with state boundaries drawn through `d3.geoPath()`. State-level data from a CSV is joined to TopoJSON features from the us-atlas package, and a hover tooltip shows each state’s name and rate. A gradient legend, rendered as a Canvas image embedded in the SVG, includes an axis from `d3.axisBottom()`.

AI-generated description
MIT Licensed

Similar vizzes