Skip to content
ChartslibraryUI Get Pro

Budget vs actual board

KPIs, cumulative spend vs budget and variance by category in one block.

Get Pro to install · $79 once<BudgetVsActualBoard />

When to use

  • Monthly budget reviews
  • Department spend dashboards

When not to use

  • You need a different layout; compose the charts directly

Good practice

  • Pass favorable="up" for revenue boards.

Installation

Budget vs actual board is a Pro chart.

Installation is part of Pro

The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.

Unlock with Pro
Already have Pro?npx chartslibraryui add budget-vs-actual-board --from ./chartslibraryui-pro

Usage

Usage examples are part of Pro

Every example on this page comes with its code in the Pro download. The props and data shape below are public.

Unlock with Pro

Data

Monthly rows (actual, budget) and category rows (actual, budget).

monthly: [{ month: "Jan", actual: 312000, budget: 300000 }], categories: [{ category: "Travel", actual: 22100, budget: 30000 }]

Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data

Props

Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API

export interface BudgetVsActualBoardProps {
  /** Monthly totals: { [period]: "Jan", actual: number | null, budget: number }. */
  monthly: Row[];
  /** Spend by category for the year to date: { [label]: "Travel", actual, budget }. */
  categories: Row[];
  period: string;
  label: string;
  actual?: string;
  budget?: string;
  format?: FormatInput;
  /** Spend: under budget is good (default "down"). Revenue boards should pass "up". */
  favorable?: "up" | "down";
  title?: string;
}
Pro

Variance chart

Actual vs plan per line item: levels and variance side by side, coloured by business direction.

Pro

Actual vs forecast

Actuals solid, forecast dashed from the last actual, plan line and uncertainty band.

KPI row

A responsive row of KPI tiles that wraps cleanly.