🌍 Public
Viewing a saved revision (read-only)
01d0931118ae44a68eae5576b9a7a47f
Bubble chart Presentation
This interactive bubble chart visualizes the correlation between average sugar, carbohydrate, and calorie content across various breakfast cereals. Each circle’s position is mapped using d3.scaleLinear for the x and y axes, while its radius encodes calorie count through a separate scale. Hovering reveals a tooltip with the cereal’s name, calories, carbs, and sugar. The visualization uses D3 v7 to load CSV data, render SVG circles, and apply the interpolateTurbo color scheme for categorical distinction.
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.