Pie Chart - Actvity-8-2
✓ Published0🌍 Public
A pie chart shows the distribution of students across academic majors at UNT, with each slice labeled with a count in thousands and a color-coded legend displaying major names and values. The visualization loads data from a CSV file hosted on GitHub, uses D3 v5 to fetch and parse the data, and renders the chart as SVG. It applies D3’s `pie` and `arc` generators to compute slice geometry, `scaleOrdinal` for categorical colors, and custom text and legend elements to annotate the graph.
AI-generated descriptionA demonstration of Pie chart.
MIT Licensed