Skip to main content
100%

[TEST] Pie Chart

✓ Published0🌍 Public
YYoram
Last edited Oct 28, 2020
Created on Oct 28, 2020
Forked from [TEST] Pie Chart

This test pie chart demonstrates the proportional breakdown of credit rating categories, with "AAA Local" dominating the visualization. The chart renders as a standard donut without labels on the slices themselves, instead using a legend on the right to identify each category and its corresponding percentage. Built with D3 v5, the code uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to transform the JSON data into SVG path segments, while `d3.format` handles the numeric tick formatting for the legend values.

AI-generated description
MIT Licensed

Similar vizzes