Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubble Chart

Public visualization

Viewing a saved revision (read-only)

7b83a2d7fb054e6983ee86340e1de3fe

Bubble Chart

0 stars0🌍 Public
SSwapna1915
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This bubble chart compares beverage types (sprite, pepsi, maaza, thumsup, fanta, coke, dew) across three quantitative variables: glucose (x-axis), rating (y-axis), and calorie content (bubble size). Color encodes beverage type. The visualization is rendered as an SVG using d3.v7, loading data from a CSV file. It employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with d3.schemeSet1 for colors, and includes custom legends for both size and color.

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.