Skip to main content
Public

Share visualization

Loading preview…

Activity7.1

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

Activity7.1

0
LLakshanya Sirigiri
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

A pie chart displays sales amounts across five product categories: electronic devices, furniture, clothing, toys, and groceries, with values ranging from 23.78 to 89.43. The Chart.js library renders the visualization on a canvas element, using fixed background colors for each slice and a hover offset effect. The chart includes a legend at the top and a title, with responsive sizing set to half the page width. Data is hardcoded in the script, and the chart updates dynamically through Chart.js's configuration object.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed