act8_question4
✓ Published0🌍 Public
This bubble chart compares beverage manufacturers based on glucose levels and ratings, with bubble size representing calorie content and color indicating the brand. Loaded from a CSV file, the visualization uses D3 v7 scales (`d3.scaleLinear`, `d3.scaleOrdinal`) to map data to x/y positions, bubble radius, and color. The SVG rendering includes axes, labels, interactive tooltips on mouseover, and legends for both calorie size and brand 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