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 and tobacco usage vs population size and alcohol usage rates from the CORGIS dataset made with D3. Implementation learned from D3 Graph Gallery.
Circle size correlates with population size and color intensity correlates with rate of alcohol usage per 1000 people.
Hover over dots to see values for that point.