🌍 Public
Viewing a saved revision (read-only)
44892c7ebc9b44a5976b856e446641a0
Pie Chart
This pie chart visualizes the count of students from each major at UNT, with each slice colored and labeled with its proportion in thousands. The chart is rendered as an SVG using D3 v5, employing `pie()` and `arc()` to generate the segments, while `scaleOrdinal` maps colors to data categories. Data is loaded asynchronously from a CSV file via `d3.csv`, and legends on the right display major names alongside their student counts.
AI-generated descriptionA demonstration of Pie chart.