🌍 Public
Viewing a saved revision (read-only)
6fa7bce76660492e8512397a643b55df
task9
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 description