Fork of Fork of Fork to pie chart
✓ Published1🌍 Public
This pie chart displays total sales by item category for a Walmart dataset, with each slice representing a categorical aggregate. The visualization fetches a CSV file from a GitHub gist, parses rows to extract category labels and total sales values, and renders the chart on an HTML `<canvas>` element using the Chart.js library. The code specifically uses `new Chart(ctx, { type: 'pie', ... })` with custom background colors and a fixed 400x400 pixel canvas, while the `responsive` option is disabled to maintain the set dimensions.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed