Skip to main content
100%

Bubble Chart

✓ Published0🌍 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.
MIT Licensed

Similar vizzes