pie chart
✓ Published0🌍 Public
UUday Kiran
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of Fork of Fork of Reusable D3 Scatter Plot
A pie chart displays website traffic sources with visitor counts for each source. The visualization loads CSV data using d3.csv from d3.v7, then renders it on a Canvas element via the Chart.js library. Each slice uses a distinct background color with white borders, and the legend appears on the right side. The chart title indicates traffic values in thousands, while the responsive layout adapts to the container size.
AI-generated descriptionMIT Licensed