🌍 Public
Viewing a saved revision (read-only)
76d50a3687424485b9310e2bba7b0635
Fork of Activity 7-pie
This example visualizes the distribution of penguin species as a pie chart, showing the counts for Adelie, Gentoo, and Chinstrap penguins. The chart is rendered as an SVG, with each slice colored by species and labeled with its count. It uses the d3 pie and arc generators to compute slice geometry and the scaleOrdinal function for color assignment. Data is loaded from a remote CSV file containing penguin measurements, and the visualization includes a title and a legend.
AI-generated descriptionA demonstration of reusable scatter plot.