🌍 Public
Viewing a saved revision (read-only)
c14886095a2a4d6aaa62cfcb6703ba5c
Pie Chart
This pie chart visualizes the count of students in each major at UNT, with proportional slices and a legend displaying major names and student counts. It loads CSV data from a GitHub repository and uses d3.pie, d3.arc, and d3.scaleOrdinal to generate SVG paths with custom colors and value labels. The chart also uses d3.csv for data fetching, d3.format for tick formatting, and local ES6 module imports.
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.