Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
JJayanthKumarkoni
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

This pie chart displays the count of students from each major at UNT, with slices colored and labeled with values in thousands. The visualization uses D3 v5’s `d3.pie` and `d3.arc` generators to compute and draw each segment, while `d3.scaleOrdinal` maps majors to a fixed palette. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and the SVG output includes interactive-free labels and a legend. Styling is applied through an external stylesheet, and the chart is rendered entirely with SVG elements.

AI-generated description

A demonstration of Pie chart.

MIT Licensed

Similar vizzes