🌍 Public
Viewing a saved revision (read-only)
5a4bf4d6aa8743058339249431910063
Fork of a7 q1
This pie chart visualizes the distribution of website share among five platforms—Facebook, Google, Instagram, YouTube, and Yahoo—using a small, 100-pixel-square canvas. It demonstrates the Chart.js library’s pie chart type, configured with custom colors and a top legend, and includes tooltips that display each platform’s raw value. The data is hardcoded into the script, with values ranging from 80 to 700, and the chart is rendered directly to the canvas element via the Chart constructor.
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.