Pie chart

Circle slices wey show how one data series share the whole.

Components wey use Chart.js plus basic charts wey no need extra dependencies.

lr-pie-chart

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

Optional dependency: chart.js

Read di guide (for English)

Components wey relate

  • Polar area chart — Each category na wedge from centre, and value control im size.
  • Radar chart — Radial grid wey compare several measures from one series.
  • Scatter chart — Raw x/y points wey dey on linear axes.
  • 3D chart — Three-dimension chart wey people fit use with data table.
  • Treemap — E show how one total dey divide among nested categories as square tiles wey get different weight.
  • Sankey diagram — E show how quantity dey flow pass different stages as ribbons wey size depend on how much dem be.