Task_9_Question_1
✓ Published1🌍 Public
A pie chart displays the distribution of pitch types in baseball, with each slice representing a pitch name and sized by its total pitch count. The chart uses a D3 v6 selection to append SVG paths and text labels, with a d3.scaleOrdinal color scheme for slice differentiation. Data is loaded from a remote CSV file via d3.csv, and the pie layout (d3.pie) and arc generator (d3.arc) calculate the slice geometry, with labels positioned at arc centroids.
AI-generated descriptionMIT Licensed