task 9
✓ Published0🌍 Public
This pie chart visualizes total sales by item category, using data loaded from a remote CSV file. The chart.js library renders the pie on an HTML canvas element, with labels drawn from the category column and values from the sales column. Six distinct color slices represent each category, and a title displays above the chart. The visualization fetches the Walmart dataset asynchronously, parses the CSV text into rows, and constructs the chart once the data is ready.
AI-generated descriptionMIT Licensed