Skip to main content
Public

Share visualization

Loading preview…

Fork of Pie Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Pie Chart

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

Comments

Sign in to join the discussion.

MIT Licensed