Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
YYashwanth0311
Last edited Mar 26, 2024
Created on Mar 26, 2024
Forked from 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 description

This is a sample d3 Pie chart. This will be later exported to angular.

MIT Licensed

Similar vizzes