🌍 Public
Viewing a saved revision (read-only)
fb6b9fcf014f40abb8d7bbfc4ad37bc8
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.