Activity6_Task4_Question4
✓ Published0🌍 Public
This bubble chart compares beverage companies by plotting glucose levels on the x-axis against ratings on the y-axis. Each circle’s size encodes calorie count, while color distinguishes the brand (Dew, Sprite, Thumsup, Fanta, Maaza, Coke, Pespsi). Built with D3 v7, the SVG visualization uses `d3.scaleLinear` for axes and bubble size, plus `d3.scaleOrdinal` for colors. Hovering reveals a tooltip with calorie and glucose values. The chart includes legends for calorie size and brand colors, with data loaded from a CSV file.
AI-generated descriptionMIT Licensed