🌍 Public
Viewing a saved revision (read-only)
9e50275991c34a479a7a684d14a241be
Fork of Fork of Fork to pie chart
This example visualizes total sales by item category from Walmart data as a static pie chart. It fetches a CSV file from a GitHub Gist, parses the columns for item category and sales, then renders the chart using Chart.js on an HTML canvas. The chart uses distinct semi-transparent background colors for each slice and displays a title above the plot, with responsive sizing disabled to maintain a fixed canvas dimension.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.