task9
✓ Published1🌍 Public
This visualization displays the frequency distribution of categorical data values ("bad" and "good") using a pie chart, with a legend and axis labels for "Quality" and "Frequency". It builds the chart with d3.pie to compute arc segments, d3.arc for path geometry, and d3.scaleOrdinal for color mapping. The SVG is created via d3.select and appended to a container, with data aggregated using d3.rollup. The source dataset is a simple array of quality attributes, rendered as a static SVG graphic.
AI-generated descriptionMIT Licensed