Histogram

E put numbers inside equal-width buckets to show their distribution.

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

lr-histogram

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

Optional dependency: chart.js

Read di guide (for English)

Components wey relate

  • Histogram core — Builtin-only histogram that renders through lr-lite-chart and never bundles Chart.js.
  • Line chart — One or more connected lines wey show trend along continuous axis.
  • Light chart — Bar and line chart wey use ordinary SVG without Chart.js dependency.
  • Pie chart — Circle slices wey show how one data series share the whole.
  • 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.