Skip to main content
100%

Activity 7 Q2

✓ Published0🌍 Public
Hhui249378@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Activity 7

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

Similar vizzes