Pie Chart
✓ Published0🌍 Public
A pie chart displays the count of students from each major at UNT, using a dataset loaded from a GitHub gist. The visualization renders as an SVG with colored segments, value labels, and a legend identifying majors and their corresponding student counts. Built with D3 v5, the code uses `d3.csv` for data loading, `d3.pie` and `d3.arc` for chart geometry, and `d3.scaleOrdinal` for color mapping.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed