Viewing a saved revision (read-only)
4810e9e51c5a4609940fea8eb4d322a5
A5 Bubble Plot (D3)
This bubble plot visualizes alcohol and tobacco usage across U.S. states, with circle size encoding population and color intensity representing alcohol use rates per 1000 people. Built with D3 v7, it uses `d3.scaleLinear` for position, radius, and color mapping, plus SVG circles with `title` elements for hover tooltips. The chart loads CSV data from a GitHub gist and displays axes with custom tick formatting, along with descriptive legends and labels.
AI-generated descriptionVisualization of alcohol usage vs tobacco usage from the CORGIS dataset made with D3. Implementation learned from D3 Graph Gallery.
Circle size correlates with population size and color intensity correlates with
Hover over dots to see value for that point.