Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7.1

Public visualization

Viewing a saved revision (read-only)

b6c2a343ddc6421287fdde4664913fc6

Activity7.1

0 stars0🌍 Public
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