Activity7.1
✓ Published0🌍 Public
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 descriptionMIT Licensed