Skip to content

Charts

Plain SVG charts and figures for reports and dashboards, built to WCAG 2.2 AA as a target. Each chart is a named figure with a written summary; the arrow keys step through the data points and read each one; every value is also in a table behind a disclosure. Series differ by colour and by line pattern, and marks switch to system colours in forced colours. Charts draw at the width of their box, so labels keep their size at any zoom and thin out on narrow screens.

11 pages, 11 exports

  • LineChart
  • BarChart
  • StackedBars
  • DonutChart
  • Sparkline
  • ActivityHeatmap
  • ScoreRing
  • Delta
  • MetricTile
  • ChartLegend
  • ChartTooltip

ImportLink to the section Import

Each group has its own entry, so an app that needs only this group loads only this group. Everything is also exported from @skribly/ui.

tsx
import { LineChart, BarChart, StackedBars, DonutChart, … } from '@skribly/ui/charts'

Pages in this groupLink to the section Pages in this group

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /