Assignment 2 Question 1
✓ Published0🌍 Public
An interactive pie chart displays total sales by item category, using data fetched from a remote text file. The visualization is built with Chart.js on an HTML Canvas element, presenting twenty-two categories with distinct colors and a bottom legend. The code calculates and displays percentage values for each slice via the datalabels plugin, summing sales figures parsed from CSV-formatted rows. The chart summarizes category-level sales performance in a single, static view.
AI-generated descriptionPie chart visualization with Item sales dataset.
MIT Licensed