🌍 Public
Viewing a saved revision (read-only)
1dfedb72b1414679b704017a0a74a09c
Fork of Pie Chart
This visualization displays a pie chart of annual values from 2010 through 2020, with each slice labeled by its corresponding year and colored using the D3 categorical color scheme. The chart is rendered as SVG within a 600x400 pixel canvas, using the `d3.pie` layout function to compute arc segments and `d3.arc` to generate the path geometries, with color assigned via `d3.scaleOrdinal`. Labels are positioned at each slice’s centroid using the arc’s centroid method.
AI-generated descriptionThis is a sample d3 Pie chart. This will be later exported to angular.