Skip to main content
100%

Activity-7-Q-1(Gopala Krishna Battula)

✓ Published0🌍 Public
Kkrishna444battula@gmail.com
Last edited Nov 3, 2024
Created on Oct 30, 2024

This pie chart shows the distribution of calories across various food items, with each slice representing a food’s caloric contribution. The visualization uses Chart.js on a canvas element to render the chart, while d3.csv fetches the dataset from a remote gist file. The code maps parsed food names and calorie values to labels and data points, applying a repeating color palette and enabling hover offsets, tooltips, and a legend for interactivity.

AI-generated description
MIT Licensed

Similar vizzes