sales distribution (group4)
✓ Published0🌍 Public
This visualization shows the distribution of sales across product categories using a pie chart, with each slice labeled by category name. The chart is rendered as an SVG in a React framework, with D3 v6 loading data from a CSV file and grouping it by the Category column using `d3.group` and `d3.sum`. The pie layout (`d3.pie`) and arc generator (`d3.arc`) create the slices, while `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors, and labels are positioned using `labelArc.centroid`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed