🌍 Public
Viewing a saved revision (read-only)
20f417521b3d4d80854b5cb06a22e2c8
ICE-7 PieChart 11590101
This pie chart visualizes the net worth of the top 10 billionaires, with each slice labeled by its dollar value and accompanied by a legend listing names and amounts. The code uses D3 v5 APIs including `d3.pie()`, `d3.arc()`, and `scaleOrdinal` to generate SVG paths, with data fetched as CSV from a Gist. Slice labels are positioned using `arc.centroid()`, and a linear-gradient background is applied via CSS.
AI-generated descriptionThis is a Pie chart