Pie Chart ICE-7
✓ Published0🌍 Public
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 descriptionMIT Licensed