Skip to main content
100%

Pie chart

✓ Published1🌍 Public
GGangumalla Ruchitha Reddy
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This pie chart displays the distribution of iris species from a CSV dataset loaded via `d3.csv`. Each slice represents one flower, and the chart uses `d3.pie` and `d3.arc` to generate the arcs, with colors assigned by `scaleOrdinal` and `schemeCategory10`. Two legends are rendered—one inside the chart function and another in the main script—both labeling species via SVG rectangles and text. The visualization adapts to the full browser window size.

AI-generated description

A demonstration of Pie chart.

MIT Licensed

Similar vizzes