🌍 Public
Viewing a saved revision (read-only)
a6b6fb89743e40bd84e961f1cc624835
pie chart
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.