🌍 Public
Viewing a saved revision (read-only)
d9c5c0116b114383ac449294cd832abb
Question 4
A bubble chart compares beverage manufacturers across three variables: glucose levels on the x-axis, rating on the y-axis, and caloric content encoded by both bubble size and color. The visualization uses d3.scaleLinear for axes and bubble radius, d3.scaleOrdinal for the categorical color mapping, and SVG circles with mouseover tooltips. Data from a CSV file is loaded via d3.csv, with animation via d3 transitions on the tooltip.
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.