Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7 - Pie Chart

Public visualization

Viewing a saved revision (read-only)

12b4766ac53f44368d9931ff63f8a12a

ICE7 - Pie Chart

0 stars3🌍 Public
Mmamathareddy1321@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025

A pie chart displays total sales by region, using canvas rendering via Chart.js. A custom legend to the right lists each region and its sales amount, with color-coded swatches built from a hardcoded array of thirteen regions and sales figures. The chart disables its built-in legend and constructs the HTML legend dynamically with JavaScript, iterating over the data to create list items.

AI-generated description