Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6-task 4

Public visualization

Viewing a saved revision (read-only)

74ead406570641f48d4e38d90ab4a6cd

Activity 6-task 4

0 stars1🌍 Public
Ttallapanenisahithi@gmail.com
Last edited Oct 24, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bubble chart displays the correlation between average sugar, average weight, and calories per serving for various food items. Circles are positioned by weight and sugar on the x and y axes, while the circle radius encodes calorie count, with a legend showing calorie values. A hover tooltip reveals exact food item, weight, sugar, and calorie details. Built with D3 v7, it loads fooditems.csv and uses `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.schemeCategory10`, and a simple SVG animation on hover to change opacity and stroke.

AI-generated description