Skip to main content
Public

Share visualization

Loading preview…

Pie Chart ICE-7

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

Pie Chart ICE-7

0
SSYAM TEJ
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from Fork of Pie Chart

This pie chart shows employee attrition distribution with two categories, "Yes" and "No", colored purple and red using a d3.scaleOrdinal. The code loads CSV data via d3.csv, aggregates counts with d3.rollup, and renders SVG paths using d3.pie and d3.arc. Interactive tooltips appear on mouseover, and a legend is positioned within the chart. The visualization uses D3 v7 and renders to an SVG element with a fixed 500x500 viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed