Skip to main content
100%

Activity7.1

✓ Published0🌍 Public
LLakshanya Sirigiri
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

A pie chart displays sales amounts across five product categories: electronic devices, furniture, clothing, toys, and groceries, with values ranging from 23.78 to 89.43. The Chart.js library renders the visualization on a canvas element, using fixed background colors for each slice and a hover offset effect. The chart includes a legend at the top and a title, with responsive sizing set to half the page width. Data is hardcoded in the script, and the chart updates dynamically through Chart.js's configuration object.

AI-generated description
MIT Licensed

Similar vizzes