Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart - Actvity-8-2

Public visualization

Viewing a saved revision (read-only)

a62ce5014bcb443580db72ae29509ba6

Pie Chart - Actvity-8-2

0 stars0🌍 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.