Skip to main content
100%

ICE-8 Map

✓ Published0🌍 Public
KKeith Miller
Last edited Apr 12, 2026
Created on Apr 11, 2026
Forked from Map

This example visualizes average alcohol consumption per U.S. state using a choropleth map, where each state is colored on a red-yellow-green gradient according to its average number of drinks. The map is rendered with D3 v7 and topojson-client, using the `d3.geoAlbersUsa` projection and `d3.geoPath` to draw state boundaries from US Atlas TopoJSON data. Alcohol values from a CSV file are joined to states via `d3.index`, and a sequential color scale (`d3.scaleSequential` with `d3.interpolateRdYlGn`) maps values to colors, with a gradient legend included.

AI-generated description
MIT Licensed

Similar vizzes