second
✓ Published1🌍 Public
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 descriptionMIT Licensed