Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Sson.sultan@yahoo.com
Last edited Oct 26, 2025
Created on Oct 26, 2025

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 description
MIT Licensed

Similar vizzes