Chart

Utility

Comprehensive charting system with 10 chart types (Line, Bar, Area, Pie, Radar, RadialBar, Scatter, Composed, Funnel, Treemap), responsive design, and data transformations

Chart

Recharts-based chart component with Saha UI styling and a config-based API for line, bar, area, pie, donut, and radar charts.

Line charts

Visualize trends over time with single or multi-series line charts.

Monthly Sales

Sales performance over the last 6 months

Weekly Revenue vs Expenses

Financial comparison for the week

Revenue
Expenses

Bar charts

Compare values across categories with vertical and stacked bars.

Sales Gradient

Single-series bar chart with gradient fill

Weekly Summary (Stacked)

Revenue and expenses stacked by day

Revenue
Expenses

Area, pie & radar charts

Visualize trends, distributions and multi-dimensional metrics.

Sales Trend

Sales by Category

Category

Category Distribution

Category

Performance Metrics

Radar chart for multi-dimensional data

Sizes, variants & states

Control the visual style using size, variant and loading.

Small

Medium

Normal state

Loading state

Loading chart...

Usage Guidelines

When to Use

  • Data visualization
  • Analytics
  • Dashboards

Accessibility

  • Data in accessible format
  • Labels and legends readable

Performance

  • Recharts optimization
  • Lazy tooltip rendering

Common Mistakes

  • Too many data points
  • No legend for multiple series

Frequently Asked Questions

Chart supports Line, Bar, Area, Pie, Radar, RadialBar, Scatter, Composed, Funnel, and Treemap.
Yes, Chart automatically resizes to fit container.

View on GitHub

See the full source code on GitHub