Skip to main content
100%

pie chart

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

This pie chart displays the distribution of penguin species by count, using a dataset loaded from a CSV file. The chart is rendered as an SVG with each slice colored using a categorical color scheme, and it includes a legend that lists each species with its corresponding count. Built with D3.js v6, the visualization uses `d3.pie()` to compute the arc data, `d3.arc()` to generate the slice paths, and `d3.scaleOrdinal()` for color mapping. The chart is centered within a 500x500 pixel SVG canvas, with slices separated by white strokes for clarity.

AI-generated description
MIT Licensed

Similar vizzes