Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Q2

Public visualization

Viewing a saved revision (read-only)

7cd8e08565f04fd88aa02debddc1da6f

Activity 7 Q2

0 stars0🌍 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