q1A7
✓ Published0🌍 Public
This example displays a website traffic pie chart, breaking down visitor sources into five categories such as Direct, Organic Search, and Email. It uses Chart.js to render the visualization, pulling the chart library from a CDN and drawing the pie chart onto a Canvas element with labeled datasets and colored segments. The chart is generated client-side within an HTML page using the Chart.js API.
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.
MIT Licensed