Fork of Fork of Fork to pie chart
✓ Published0🌍 Public
This pie chart displays total sales by item category, with each slice representing a category and its corresponding sales value. The visualization is built using the Chart.js library, which renders the pie chart onto an HTML5 Canvas element. Data is loaded asynchronously from a remote CSV file (hosted on GitHub Gist) using the `fetch` API, then parsed by splitting rows and extracting the category and sales columns. The chart is configured with custom colors and a title, and it is set to be non-responsive with a fixed aspect ratio.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed