🌍 Public
Viewing a saved revision (read-only)
6f1e8b77501541bc9067cb29efece0fe
Fork 7 Pie Chart
This visualization displays the percentage contribution of different roles in a project as a pie chart, with each slice colored distinctly and accompanied by a legend showing role names and their corresponding percentages. The chart is rendered as an SVG using D3 v5, with data fetched from a remote CSV via the `csv` function. The pie layout (`d3.pie`) computes slice angles, while `d3.arc` generates the path geometry for each segment, and `d3.scaleOrdinal` maps role names to a predefined color palette.
AI-generated description