Bubble Chart
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed