Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

maps

Public visualization

maps

0 stars0🌍 Public
Vvydeeshm@gmail.com
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from Fork of D3 Starter

This choropleth map shows U.S. state crime rates per 100,000 people, with states colored on a sequential orange-red scale based on values loaded from a CSV file. The visualization uses D3 v7 and TopoJSON to render state boundaries via `d3.geoAlbersUsa` projection and `d3.geoPath`, while encoding data with `d3.scaleSequential` and `d3.interpolateOrRd`. A canvas-generated gradient legend with a `d3.axisBottom` scale accompanies the SVG map, and hover interactions display crime values and state names in a tooltip.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed