🌍 Public
Viewing a saved revision (read-only)
69636fe02c724076a6cec33dc49cb251
Firoze_T1Q1
This pie chart displays the count of students from each major at UNT, with each slice colored distinctly and labeled with its numeric value. A legend on the right identifies the corresponding major for each color. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.csv` to load and process the data, rendering the chart as SVG elements with appended `path` and `text` nodes. The data is fetched from a GitHub gist containing the 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.