🌍 Public
Viewing a saved revision (read-only)
2866229c01d84b51a0e73139b611ee83
assignment 2
This example displays a pie chart visualizing scores associated with named categories. The chart distributes numerical score values as angular arcs, with each slice color-coded using an ordinal color scheme and labeled directly on the visualization; a supplementary legend maps names to colors. Built with D3 v6, the code loads JSON data, applies the `d3.pie` layout, and renders paths and text for slices via SVG.
AI-generated description