Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Starter - vijq2(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 D3 Starter - vijq2(pie chart)

1
Vvijaysaichigullapally1@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from D3 Starter

A pie chart visualizes the total exam score contribution for each grade category (A–D) using data from a 120-row CSV file. The D3.js v7 code loads the data, aggregates scores by category with `d3.rollup` and `d3.sum`, and renders slices via the `d3.pie` and `d3.arc` generators. Interactive tooltips appear on hover, displaying each category's total and letter label. A legend maps colors from `d3.scaleOrdinal` with the Tableau10 scheme, and the SVG output is white-stroked.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed