Skip to main content
100%

Activity6_Task4_Question4

✓ Published0🌍 Public
Kkondaveeti.bhargavi7780@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Fork of Question 4

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 description
MIT Licensed

Similar vizzes