Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-8_Question-4

Public visualization

Viewing a saved revision (read-only)

dd7d101bdf464a9ca4075eb18558881f

Activity-8_Question-4

0 stars0🌍 Public
Hharipadmavathim2023@gmail.com
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatterplot visualizes the relationship between total reported alcohol and tobacco use across U.S. states, where each bubble’s size represents the population of adults aged 26 and older. The color intensity reflects the rate of alcohol use per 1,000 people, with tooltips providing exact values. Built with D3 v7, the chart uses `d3.scaleLinear` for position, radius, and color encoding, along with `d3.axisBottom` and `d3.axisLeft` for axes. Data comes from a CSV hosted on GitHub, rendered as SVG circles over linear-scaled axes with custom legends.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.