Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Viewing a saved revision (read-only)

b0c33c14cf814886a091f76e88f93863

Pie Chart

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