Skip to main content
100%

Pie Chart_Archana Goli

✓ Published0🌍 Public
Aarchanagoli@my.unt.edu
Last edited Mar 28, 2024
Created on Mar 28, 2024

This pie chart shows the distribution of kernel types (Kama, Rosa, and Canadian) in a dataset, with each slice’s percentage displayed in a custom legend below the canvas. The chart is rendered using the Chart.js library on a fixed-size canvas element, which reads data from a remote text file via the Fetch API. It counts occurrences of each kernel type from the CSV rows, then draws the pie with semi-transparent colors and a disabled default legend in favor of a dynamically generated HTML legend.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes