Activity7_Task1
✓ Published1🌍 Public
This example shows a pie chart of penguin species counts, with each slice labeled by species name and count, and a title reading “Dolphin Species.” The chart is rendered as an SVG using D3 v6, loading data from a remote CSV file. The code uses `d3.csv`, `d3.rollups` to aggregate counts, `d3.pie` and `d3.arc` for the layout and slice geometry, and `d3.scaleOrdinal` for slice colors. Labels are positioned with `arc.centroid`, and the chart is centered within a 500×500 SVG.
AI-generated descriptionMIT Licensed