Pie chart for my dataset
✓ Published0🌍 Public
This pie chart visualizes the distribution of three penguin species—Adelie, Gentoo, and Chinstrap—using count data loaded from a CSV file. The D3.js v7 code uses `d3.pie()` and `d3.arc()` to generate the pie slices, with a color scale mapping each species to a distinct hue. Slice labels appear at each arc’s centroid, and a legend built with SVG rectangles and text identifies the species. The visualization is rendered as inline SVG elements within a fixed 500×500 viewport.
AI-generated descriptionMIT Licensed