question-1 Pie Chart
✓ Published0🌍 Public
This pie chart visualizes the distribution of animal species by leg length and width, with each slice representing a category and its proportional value. The chart reads CSV data from a GitHub repository and renders slices as SVG paths using `d3.pie()` and `d3.arc()`, with colors assigned via `scaleOrdinal`. Labels and a legend are generated with D3 selections, and the chart updates responsively to the window size. The reusable `pieChart` module sets width, height, data, and value accessor through a fluent interface.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed