🌍 Public
Viewing a saved revision (read-only)
ac7b9912e16c436d8af01e47763fd127
Pie Chart
This pie chart visualizes the distribution of students across majors at the University of North Texas. D3.js v5 renders each major as a colored slice with a proportional value label, alongside a legend that maps colors to major names and student counts. The data is loaded from a CSV file via `d3.csv`, and the chart uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to compute the arcs and assign a categorical color palette.
AI-generated descriptionA demonstration of Pie chart.