Charts, distributions and measurement
Pie and doughnut charts
Shares of a total as slices of a circle — and the doughnut variant with its centre free for the total.
chart.basic@1New DDN source
Why use it?
Composition reads instantly when there are few slices and a real whole.
When it helps
Parts of one meaningful total (market share, budget split).
How to read it
- Slices sum to the whole — percentages are computed from the records.
- The doughnut's centre carries the total, not a decoration.
What you need
- The categories
- The values
- The whole they share
Things to check
- Do not use a pie for values that are not parts of a total.
- Do not ship seven-plus slices — group the tail.
Scope of this diagram
Declared records; percentages derive from them, never from hand-entered numbers.
Work with the converted example
- Open the viewer and select
chart_pie. Inspect the rendered view and its source. - Open the designer. Keep the selected profile and inspect its legal palette and property controls.
- Change one displayed title or an appropriate data value. Apply the edit and check the resulting diagram.
- Run the verifier and review its diagnostics before moving complete content into review.
- Download your edited DDN source to retain the change.
The example uses the indentation-based ddn-next-1 dialect. The language guide explains reusable definitions, dotted data rows and explicit property blocks.