Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

[TEST] Pie Chart

Public visualization

[TEST] Pie Chart

0 stars34๐ŸŒ Public
PPabloReyesBetanzo
Last edited Nov 20, 2018
Created on Nov 5, 2018
Forked from Making a Bar 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 description

Comments

Sign in to join the discussion.

MIT Licensed