Skip to main content
100%

Beer vs Wine - US

✓ Published0🌍 Public
LLichtphyz
Last edited Aug 1, 2017
Created on Aug 1, 2017

This choropleth map shows the ratio of wine to beer consumption by US state, with a color gradient from dark red (lower values) to yellow (higher values). The visualization uses a D3 Albers USA projection via `d3.geoAlbersUsa()` and `d3.geoPath()` to render state boundaries from the included GeoJSON, while integrating beerwine.csv data through `d3.csv()`. A linear color scale (`d3.scaleLinear()`) maps data values to the chosen palette, and a legend with a gradient swatch and axis (`d3.axisRight()`) displays the value range. The map is rendered as SVG paths.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes