question-4
✓ Published0🌍 Public
A bubble chart compares beverage manufacturers, plotting glucose levels along the x-axis against ratings on the y-axis. Each bubble’s radius represents calorie content, while its color identifies the manufacturer brand. The chart includes interactive tooltips on mouseover and a legend for both bubble size and color categories. Built with D3 v7, it uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom` to render the SVG elements; the data is loaded from a CSV file and animated through hover transitions.
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