Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

6f1e8b77501541bc9067cb29efece0fe

Fork 7 Pie Chart

0 stars0🌍 Public
KKiran3295
Last edited Mar 27, 2022
Created on Mar 27, 2022

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