Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 4

Public visualization

Viewing a saved revision (read-only)

c88eb895b4a344c284fa0b510c702802

Activity 6 Question 4

0 stars0🌍 Public
Hhaneesh@gctc.in
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This bubble plot visualizes the relationship between alcohol and tobacco use across U.S. states, with circle size encoding state population and color intensity representing alcohol use rates per 1,000 people. Built with D3 v7, it loads CSV data from a GitHub repository and renders an SVG scatterplot using `d3.scaleLinear` for positioning, sizing, and coloring, along with `d3.axisBottom` and `d3.axisLeft` for axes. Tooltips provide detailed values for each state via appended `title` elements.

AI-generated description