Skip to main content
100%

Activity6- question 4

✓ Published0🌍 Public
Ttallapanenisahithi@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Activity6_task4

This bubble chart shows the correlation between average volume, average sugar, and calories per serving across 20 drink items using a static dataset loaded via `d3.csv`. Circles are positioned by linear scales for volume (x-axis) and sugar (y-axis), with radius encoding calories through another `d3.scaleLinear`. An ordinal color scale distinguishes drink categories, and hover tooltips display exact values. The SVG includes a calorie legend and category color key, rendered entirely with `d3.select` and `d3.axis` APIs.

AI-generated description
MIT Licensed

Similar vizzes