Skip to main content
100%

pie chart

✓ Published0🌍 Public
JJagadeshwar Reddy. Chilakamarri
Last edited Apr 8, 2024
Created on Apr 8, 2024

A pie chart displays the distribution of counts across payment categories, with each slice labeled and colored distinctly. The chart is rendered on an HTML5 Canvas element using the Chart.js library, which fetches its data from a remote CSV file hosted on GitHub Gist. The JavaScript code parses the CSV rows to extract category labels and numeric values, then constructs the pie chart with a custom tooltip callback that calculates and displays each slice's percentage of the total.

AI-generated description

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

MIT Licensed

Similar vizzes