Fork of ICE - 7 Pie Chart
✓ Published0🌍 Public
This visualization displays the count of students from each major at the University of North Texas as a pie chart with a legend. The D3.js code uses `d3.csv` to load data from a GitHub Gist, then applies `d3.pie` and `d3.arc` to generate the chart's segments. Each slice is labeled with a formatted value (e.g., "1.5K") positioned using the arc's centroid. A separate legend lists each major with its corresponding color and student count, using `d3.scaleOrdinal` for color assignment.
AI-generated descriptionMIT Licensed