Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0🌍 Public
Kkshravyak.2001@gmail.com
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from Pie Chart

This pie chart shows the count of students from each major at UNT, with each segment labeled with the corresponding value in thousands. The chart is rendered as an SVG using D3 v5, with data loaded asynchronously via `d3.csv` from a GitHub Gist. Slice positions are computed with `d3.pie` and drawn using `d3.arc`, while a legend lists each major alongside its student count. Colors are assigned via `d3.scaleOrdinal`, and values are formatted with `d3.format`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed