Viewing a saved revision (read-only)
7af3197e06854a3d92122f251db01064
A4 Scatterplot (D3)
This scatterplot visualizes the relationship between reported alcohol and tobacco use among individuals aged 26 and older, using data from the CORGIS dataset. Each red dot represents a state or region, plotting total monthly tobacco use on the x-axis against alcohol use on the y-axis, with values displayed in thousands. Hovering over a dot reveals a tooltip with the exact figures via SVG `<title>` elements. The visualization is built with D3 v7, using `d3.csv` for data loading, `d3.scaleLinear` for axes, and `d3.axisBottom` and `d3.axisLeft` for rendering ticks.
AI-generated descriptionVisualization of total opioid deaths from the CORGIS dataset made with D3. Implementation learned from DataVizDad on Youtube