Fork of task9
✓ Published0🌍 Public
This fork shows a pie chart of categorical quality values, with each slice colored and paired with a legend and axis labels for quality and frequency. It uses D3 v7’s `d3.rollup` to count data points per quality category from an inline array, then `d3.pie` and `d3.arc` to generate SVG paths. A `d3.scaleOrdinal` maps categories to two colors, and hand-built SVG rect and text elements form the legend.
AI-generated descriptionMIT Licensed