Activity6_Q4
This D3.js bubble chart visualizes the relationship between reported alcohol and tobacco use across U.S. states, with data sourced from the CORGIS dataset. Circle position maps total alcohol use against total tobacco use, while circle size encodes population and color intensity represents the rate of alcohol use per 1000 people. The chart uses `d3.scaleLinear` for axes, size, and color, and renders SVG circles with hover tooltips via `<title>` elements. It includes labeled x and y axes, a chart title, and a legend explaining size encoding.
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.