Skip to main content
100%

Pie chart for my dataset

✓ Published0🌍 Public
Ddeekshakondam@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Hello VizHub

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

Similar vizzes