Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

7dac790aaf1f4bfa8f217b8db42892b2

Fork of Pie Chart

0 stars0🌍 Public
Sshreyasribearelly@gmail.com
Last edited Mar 25, 2024
Created on Mar 25, 2024
Forked from Pie Chart

A donut chart depicts student counts by major at UNT, using data fetched from a remote CSV via `d3.csv`. The visualization employs `d3.pie` and `d3.arc` to generate the ring segments, with `d3.scaleOrdinal` assigning colors from a predefined array, and labels formatted using `d3.format`. A legend, positioned via SVG grouping, clarifies each major and its corresponding value. The chart is rendered as an SVG element, with styling defined in the accompanying CSS file.

AI-generated description

A demonstration of Pie chart.