Skip to main content
Public

Share visualization

Loading preview…

Activity6_Q4

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity6_Q4

1 star1Public
Llingaladineshteja23@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024

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 description

Visualization 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.

Comments

Sign in to join the discussion.

MIT Licensed