Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A4 Scatterplot (D3)

Public visualization

Viewing a saved revision (read-only)

4437e7df22b14923994f362741bcc0a7

A4 Scatterplot (D3)

0 stars3🌍 Public
NNoah C.
Last edited Feb 21, 2024
Created on Feb 20, 2024
Forked from A4 Barchart (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 description

Visualization of total opioid deaths from the CORGIS dataset made with D3. Implementation learned from DataVizDad on Youtube