two
✓ Published1🌍 Public
This pie chart visualizes total sales across product categories using data loaded from a CSV file. Categories include Electronics, Clothing, Furniture, Groceries, and Stationery, with summed sales values displayed directly on each slice. The visualization uses d3.csv to load the data, d3.rollups to aggregate sales by category, and d3.pie with d3.arc to generate the slices. A categorical color scale assigns distinct hues, while labels and a legend provide context. The chart is rendered as SVG within an HTML page, with arcs stroked in white for separation.
AI-generated descriptionMIT Licensed