Skip to main content
100%

The ratio of

✓ Published0🌍 Public
RRochelle
Last edited Oct 13, 2021
Created on Oct 13, 2021
Forked from Labels

This donut chart visualizes the proportion of five apple values from a static dataset. The chart uses a blue-to-red color scale and places value labels outside the donut’s outer radius, with thin pointer lines and circular markers connecting each label to its corresponding arc segment. Built with D3 v6, it uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, rendering labels and markers as SVG text and path elements, with label positioning calculated from arc start and end angles.

AI-generated description

Donut chart labels outside the chart

MIT Licensed

Similar vizzes