Skip to main content
100%

second

✓ Published1🌍 Public
119h61a05c9@cvsr.ac.in
Last edited Oct 28, 2025
Created on Oct 28, 2025
Forked from D3 Starter

This pie chart visualizes sales distribution across 27 product categories, with each slice sized by numeric sales values loaded from a CSV file. The chart renders as an SVG using D3.js v6, employing `d3.pie()` to compute arc angles and `d3.arc()` to generate SVG paths. A Tableau10 color scale distinguishes categories, and each slice includes a text label with a tooltip showing the exact sales figure. A legend on the right side maps each color to its category, while slices are ordered by the original data order due to `.sort(null)`.

AI-generated description
MIT Licensed

Similar vizzes