🌍 Public
Viewing a saved revision (read-only)
1a8bf985fe144d35844ad9b78d83be39
Activity 7 Question-1
This pie chart displays sales amounts across five product categories: electronic devices, furniture, clothing, toys, and groceries. Groceries lead with 89.43, while toys have the smallest share at 23.78. The visualization uses Chart.js to render the pie on an HTML canvas element, configuring a responsive layout with a top-positioned legend and hover offset. Data is hardcoded in the script, with category labels and sales values paired to distinct background colors.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.