Skip to main content
100%

Pie Chart - Actvity-8-2

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

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 description

A demonstration of Pie chart.

MIT Licensed

Similar vizzes