Skip to main content
Public

Share visualization

Loading preview…

assignment

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

assignment

0
HHarshithaAru06
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from Fork of Pie Chart

This pie chart visualizes the pass/fail distribution of students from a performance dataset. The D3.js code (using `d3.pie`, `d3.arc`, and `d3.rollup`) aggregates the `pass_fail` column into slice counts, with each slice labeled as a category and its percentage. A right-side legend, built with `d3.select` and dynamic HTML joins, lists each category and its raw value. The SVG rendering uses ordinal colors from `d3.schemeTableau10` and includes slice borders and white text strokes for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed