Donut Chart

A donut/pie chart showing proportional breakdown of a whole. Supply category-value pairs via JSON. Supports custom colors, inner radius, and labels.

Template details

  • chart
  • donut
  • pie
  • proportional
  • d3

When to use this template

A donut chart effectively communicates the proportional contribution of different categories to a single total. Analysts use it to quickly identify which components are most significant or how various parts stack up against each other within a defined whole. It highlights relative magnitudes and distribution at a glance.

  • Categorical data with corresponding numerical values.
  • Small number of distinct categories (ideally 2-7).
  • Values representing parts of a clearly defined whole.
  • Non-negative numerical values that are additive.
  • Data where individual category proportions are key.
  • Single-point-in-time snapshots of a distribution.

Browse all Koan templates