🌍 Public
Viewing a saved revision (read-only)
4c25ee0036ee47fe94c0e1f15d734fc7
Fork of Pie Chart
This pie chart displays the distribution of student counts across different majors at UNT, with each slice labeled with its value and a color-coded legend showing major names alongside student counts. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions to compute slice geometry and assign colors, rendering paths and text labels in SVG. Data is loaded asynchronously from a CSV file via `d3.csv`, with values formatted using `d3.format`.
AI-generated descriptionA demonstration of Pie chart.