Chart
SVG-based charting components for data visualization. Includes bar charts, donut charts, sparklines, progress rings, and more.
Import
import { BarChart, DonutChart, SparkLine, ProgressRing, LinearChart } from '@scaffald/ui';
BarChart
Renders vertical bars from an array of numeric values.
DonutChart
Circular chart for displaying proportional data.
SparkLine
Compact inline trend indicator.
ProgressRing
Circular progress indicator with percentage label.
All Chart Components
| Component | Description |
|---|---|
BarChart | Vertical bar chart |
StackedBarChart | Stacked vertical bars |
LinearChart | Line/area chart |
DonutChart | Donut/ring chart |
CircleChart | Full circle chart |
HalfPieChart | Half-circle gauge |
SparkLine | Compact inline trend |
ProgressRing | Circular progress |
RadarChart | Radar/spider chart |
Props
See the TypeScript definitions for complete props.
Related Components
Changelog
See GitHub Releases for version history.