🌍 Public
Viewing a saved revision (read-only)
cf3efaa58dde4e5cab83a99a4dbca516
Pie Chart
This pie chart displays the distribution of student counts across different majors at the University of North Texas. The chart uses D3 v5 to load CSV data from a GitHub gist and render the visualization as an SVG. It employs the `pie` and `arc` functions to generate the chart segments, with `scaleOrdinal` assigning colors to each major. The visualization includes labeled value annotations within each slice and a legend showing majors alongside their corresponding student counts.
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.