🌍 Public
Viewing a saved revision (read-only)
56707edb18614f4fa17e2cf13d4f0fa8
Pie 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 descriptionpie chart that displays undergrad enrollment of various universities. click here to view the csv