๐ Public
[TEST] Pie Chart
This pie chart displays the distribution of credit rating categories, sourced from local and international classifications, with "AAA Local" dominating at over 73%. Built with D3 v5, it uses the `pie` and `arc` APIs to generate SVG paths with an ordinal color scale. A legend, created with `scaleOrdinal`, lists each label and its corresponding percentage, formatted using `format`. The chart is rendered from `data.json`, with values converted to numbers before plotting.
AI-generated descriptionMIT Licensed
![[TEST] Pie Chart](/viz/22a0cc7854424e32bc3b9bcde8ca6ebd/social-image.png?v=ead48e139f844f6681b64439b8052f2a)
![Fork of [TEST] Pie Chart](/viz/ebe027dc800c4d09b804902b40c84389/social-image.png?v=f84762a25f3643d7bea02a289b1c1f9a)
![Fork of [TEST] Pie Chart](/viz/845479920d364e4997dca91073cb58cc/social-image.png?v=292c3e8a74894d3b872e4301c308bcae)
![Fork of [TEST] Pie Chart](/viz/4bfe5fe2c7794889aff2a9f5f48b3ace/social-image.png?v=6278c47267064330a6b6edc6ae60d658)
![Fork of [TEST] Pie Chart](/viz/685692250c1b4483b9c1b150bbea63b9/social-image.png?v=0e5232f1cceb48f4812c0f73d275607d)
![[TEST] Pie Chart](/viz/d701ede5b900419abe8b9de05a4f9916/social-image.png?v=0bd245a36edb4ca1a03f35e4ee014138)
![Fork of [TEST] Pie Chart](/viz/e16377ad30a243e4bb257f439d61452d/social-image.png?v=895e02608b8341f489261454661ef0b3)
![Fork of [TEST] Pie Chart](/viz/840f0b742a35495daf43b635671c050d/social-image.png?v=41fbf4a9513b47548cd09f9c653eab54)
Comments
Sign in to join the discussion.