🌍 Public
Viewing a saved revision (read-only)
20c766198c844771a1786cde5de28146
Activity_7_Question_1
This pie chart visualizes the count of students from each major at UNT, with each slice labeled with its value in thousands. The chart uses D3 v5 to load CSV data, compute pie segment angles via `d3.pie()`, and render arcs with `d3.arc()`. A legend on the right maps each major to its color and student count. The visualization relies on `d3.scaleOrdinal` for color assignment and `d3.format` for tick labels.
AI-generated descriptionA demonstration of Pie chart.