Skip to main content
100%

Pie Chart

✓ Published1🌍 Public
AAkhila-Battula
Last edited Mar 27, 2022
Created on Mar 26, 2022
Forked from Bar Chart

This pie chart displays undergraduate enrollment numbers for various universities, with each slice labeled in a legend showing the college name and enrollment count. The visualization uses D3 v3’s `d3.layout.pie` to compute arc angles, `d3.svg.arc` for path generation, and an ordinal color scale with a dark blue gradient. Data is loaded as CSV from a GitHub gist, and a custom legend is rendered via the `d3.legend` function defined in index.js, which positions circles and text based on data attributes.

AI-generated description

pie chart that displays undergrad enrollment of various universities. click here to view the csv

MIT Licensed

Similar vizzes