Pie Chart
✓ Published0🌍 Public
This pie chart displays the distribution of student counts across different majors at the University of North Texas. The visualization uses a D3 arc generator to create pie segments, with each section labeled inside and accompanied by a legend showing the major name and corresponding student count. The chart loads data from a CSV file hosted on GitHub Gist and uses D3's `scaleOrdinal` for color assignment. The implementation imports specific D3 functions including `pie`, `arc`, and `scaleOrdinal` to generate the SVG-based chart.
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