Skip to main content
Public

Share visualization

Loading preview…

ICE7 - Pie Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE7 - Pie Chart

3
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

Comments

Sign in to join the discussion.

MIT Licensed