🌍 Public
Viewing a saved revision (read-only)
348964b89d7d4a9e970f400921cfc712
pie
This pie chart displays the distribution of penguin species from a CSV dataset, showing each species with a colored slice and a legend. Built with D3 v7, it uses `d3.pie()` to compute arc angles, `d3.arc()` to generate SVG paths, and `d3.scaleOrdinal` with `d3.schemeSet2` for colors. Labels are positioned using `arc.centroid()`, and the chart renders to an SVG element.
AI-generated description