Skip to main content
100%

pie chart

✓ Published0🌍 Public
Ssaisathyapriya097@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example shows a pie chart of unemployment rates by country, with each slice labeled by country name and percentage in the legend on the right. It fetches CSV data from a GitHub gist and renders the chart on a canvas element using the Chart.js library. The code parses the CSV rows manually, assigns each country a random color, and customizes legend and tooltip callbacks to display the percentage alongside names.

AI-generated description
MIT Licensed

Similar vizzes