assignment 2
✓ Published0🌍 Public
This example shows a reusable pie chart of scores by name, rendered as SVG. It loads CSV data from a GitHub gist and converts the score field to numbers. The visualization uses a modular `pieChart` function with chainable accessor methods, building arcs via `d3.pie()` and `d3.arc()`, filling slices with a categorical color scale, and labeling each slice with its category name. The chart is centered within a 500x500 SVG using D3 v6.
AI-generated descriptionMIT Licensed