Doughnut chart

Shows part-to-whole proportions as segments of a ring.

A Chart.js family plus dependency-free chart primitives.

lr-doughnut-chart

import '@aceshooting/lyra-ui/components/lr-doughnut-chart.js';

Optional dependency: chart.js

Read guide (English)

Related components

  • Histogram — Bins numeric values into equal-width buckets to reveal their distribution.
  • Histogram core — Builtin-only histogram that renders through lr-lite-chart and never bundles Chart.js.
  • Line chart — Tracks trends over a continuous axis with one or more connected series.
  • Lite chart — Dependency-free bar and line chart rendered as plain SVG, no chart.js needed
  • Pie chart — Proportional pie chart showing one series' share of a whole
  • Polar area chart — Polar-area chart plotting each category as a wedge scaled by its value