Activity 7 Q2
✓ Published0🌍 Public
This visualization presents the distribution of penguin species in a dataset, breaking down the counts of each species in a simple pie chart. The chart uses D3 v7’s pie and arc generators to compute and draw the proportional slices, with colors assigned by scaleOrdinal and schemeCategory10. The code loads data from a CSV file, groups records by species to calculate counts, and renders the pie with white stroke separations and labels placed at each arc’s centroid. A manual legend and red axis annotations are added for context.
AI-generated descriptionMIT Licensed