Skip to main content
100%

Fork of Fork of Fork to pie chart

✓ Published0🌍 Public
Llokeshchowdary465@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes