Pie Chart
✓ Published0🌍 Public
This pie chart displays total sales aggregated by state, sourced from a CSV file loaded via `d3.csv`. It uses `d3.rollup` and `d3.sum` to group the data, then renders slices with `d3.pie` and `d3.arc` in an SVG. Each slice is colored with `d3.scaleOrdinal` using `d3.schemeTableau10`, labeled with state names, and accompanied by a legend showing totals. The visualization is built entirely with D3 v7.
AI-generated descriptionMIT Licensed