Skip to main content
100%

assignment 2

✓ Published0🌍 Public
CChiranjeeviUppala@my.unt.edu
Last edited Mar 26, 2025
Created on Mar 26, 2025

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 description
MIT Licensed

Similar vizzes