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