Variance chart

Show differences from prior year, plan or forecast in a variance chart: difference columns, percentage pins, or good and bad caps on the actuals.

React
import { VarianceChart } from 'boardplot/react/variance';
Use for
Actual against plan or PY · Variance in value and percent · Budget deviation by cost center
Not for
Relative variance against a zero or negative reference.

Regional revenue growth against prior year

ΔPY absolute variance chart vs Prior year, 5 categories. DACH +11, France −8, UK & Ireland +6, Nordics +3, Iberia −3. DACH and UK gains outweigh the French decline Brevinth Retail · Revenue growth vs PY in $m · FY25 · AC vs PY Source: Brevinth management accounts, FY25 close Better than PY Worse than PY +11 −8 +6 −3 +3 DACH France Iberia Nordics UK & Ireland

Variance columns of revenue growth versus prior year for five regions: DACH plus 11, UK and Ireland plus 6, Nordics plus 3, France minus 8 and Iberia minus 3.

Download SVG Fixture IDdpy-absolute-regions
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "variance",
  "data": {
    "categories": [
      {
        "id": "dach",
        "label": "DACH"
      },
      {
        "id": "france",
        "label": "France"
      },
      {
        "id": "uki",
        "label": "UK & Ireland"
      },
      {
        "id": "nordics",
        "label": "Nordics"
      },
      {
        "id": "iberia",
        "label": "Iberia"
      }
    ],
    "series": [
      {
        "id": "rev",
        "label": "Revenue",
        "values": [
          128,
          96,
          84,
          52,
          41
        ]
      },
      {
        "id": "py",
        "label": "Prior year",
        "role": "reference",
        "scenario": "PY",
        "values": [
          117,
          104,
          78,
          49,
          44
        ]
      }
    ]
  },
  "options": {
    "variant": "absolute",
    "variance": {
      "of": "rev",
      "vs": "py"
    },
    "title": "DACH and UK gains outweigh the French decline",
    "subtitle": {
      "company": "Brevinth Retail",
      "measure": "Revenue growth vs PY",
      "period": "FY25",
      "scenarios": [
        "AC",
        "PY"
      ]
    },
    "unit": "$m",
    "source": "Brevinth management accounts, FY25 close",
    "size": {
      "width": 1000
    }
  }
}

Order intake against plan by month

ΔPL% relative variance chart vs Plan, 6 categories. Jan +3.0%, Feb −3.0%, Mar +2.6%, Apr −3.6%, May −4.4%, Jun +2.6%. Order intake beats plan in three of six months Vantage Systems · Order intake vs plan · H1 2026 · AC vs PL Source: Group controlling, plan v2 Better than PL Worse than PL −4.4% −3.6% −3.0% +3.0% +2.6% +2.6% Apr Feb Jan Jun Mar May

Variance pins of monthly order intake versus plan in percent for H1 2026: three months above plan (up to plus 3.0%) and three below (down to minus 4.4% in May).

Download SVG Fixture IDdpl-relative-pins
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "variance",
  "data": {
    "categories": [
      {
        "id": "jan",
        "label": "Jan"
      },
      {
        "id": "feb",
        "label": "Feb"
      },
      {
        "id": "mar",
        "label": "Mar"
      },
      {
        "id": "apr",
        "label": "Apr"
      },
      {
        "id": "may",
        "label": "May"
      },
      {
        "id": "jun",
        "label": "Jun"
      }
    ],
    "series": [
      {
        "id": "orders",
        "label": "Order intake",
        "values": [
          412,
          388,
          431,
          405,
          392,
          441
        ]
      },
      {
        "id": "pl",
        "label": "Plan",
        "role": "reference",
        "scenario": "PL",
        "values": [
          400,
          400,
          420,
          420,
          410,
          430
        ]
      }
    ]
  },
  "options": {
    "variant": "relative",
    "variance": {
      "of": "orders",
      "vs": "pl"
    },
    "title": "Order intake beats plan in three of six months",
    "subtitle": {
      "company": "Vantage Systems",
      "measure": "Order intake vs plan",
      "period": "H1 2026",
      "scenarios": [
        "AC",
        "PL"
      ]
    },
    "source": "Group controlling, plan v2",
    "size": {
      "width": 1000
    }
  }
}

Growing gap above plan with CAGR

ΔPL absolute variance chart vs Plan, 3 categories. FY21 +10, FY22 +12, FY23 +14. Over-plan volume grows 20% a year Extra orders above plan, 10 to 14 · FY21 to FY23 · AC vs PL Source: Illustrative orders and plans Better than PL +14 +12 +10 FY21 FY22 FY23 +20% p.a.

Variance columns of orders above plan for FY21 to FY23 (plus 10, plus 12, plus 14) with a plus 20% a year growth arrow.

Download SVG Fixture IDannual-surplus
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.subtitle.

{
  "type": "variance",
  "data": {
    "categories": [
      {
        "id": "fy21",
        "label": "FY21",
        "date": "2021-12-31"
      },
      {
        "id": "fy22",
        "label": "FY22",
        "date": "2022-12-31"
      },
      {
        "id": "fy23",
        "label": "FY23",
        "date": "2023-12-31"
      }
    ],
    "series": [
      {
        "id": "orders",
        "label": "Orders",
        "values": [
          110,
          112,
          114.4
        ]
      },
      {
        "id": "plan",
        "label": "Plan",
        "role": "reference",
        "scenario": "PL",
        "values": [
          100,
          100,
          100
        ]
      }
    ]
  },
  "options": {
    "variant": "absolute",
    "variance": {
      "of": "orders",
      "vs": "plan"
    },
    "title": "Over-plan volume grows 20% a year",
    "size": {
      "width": 900,
      "height": 400
    },
    "subtitle": {
      "measure": "Extra orders above plan, 10 to 14",
      "period": "FY21 to FY23",
      "scenarios": [
        "AC",
        "PL"
      ]
    },
    "source": "Illustrative orders and plans",
    "annotations": [
      {
        "id": "growth",
        "kind": "cagr",
        "from": "fy21",
        "to": "fy23"
      }
    ]
  }
}

Running month hatched against plan

ΔPL integrated variance chart vs Plan, 3 categories. Jan +20, Feb −10, Mar +20. March is still running Source: Illustrative data; March plan covers the same days as actual Actual Above PL Below PL 90 120 60 Feb Jan Mar +20 +20 to date −10

Variance columns of actuals against plan: January 120 (plus 20), February 90 (minus 10) and a hatched March at 60 (plus 20 to date).

Download SVG Fixture IDpartial-period
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "variance",
  "data": {
    "categories": [
      {
        "id": "jan",
        "label": "Jan"
      },
      {
        "id": "feb",
        "label": "Feb"
      },
      {
        "id": "mar",
        "label": "Mar",
        "partial": true
      }
    ],
    "series": [
      {
        "id": "actual",
        "label": "Actual",
        "values": [
          120,
          90,
          60
        ]
      },
      {
        "id": "plan",
        "label": "Plan",
        "role": "reference",
        "scenario": "PL",
        "values": [
          100,
          100,
          40
        ]
      }
    ]
  },
  "options": {
    "variant": "integrated",
    "variance": {
      "of": "actual",
      "vs": "plan"
    },
    "title": "March is still running",
    "source": "Illustrative data; March plan covers the same days as actual",
    "size": {
      "width": 1000
    }
  }
}

Minimal spec

Save this spec as variance.json and run the command.

{
  "type": "variance",
  "data": {
    "categories": [{ "id": "north", "label": "North" }, { "id": "south", "label": "South" }],
    "series": [
      { "id": "revenue", "label": "Revenue", "values": [120, 90], "scenario": "AC" },
      { "id": "plan", "label": "Plan", "values": [100, 100], "role": "reference", "scenario": "PL" }
    ]
  },
  "options": {
    "variant": "absolute",
    "variance": { "of": "revenue", "vs": "plan" },
    "unit": "$k",
    "title": "North exceeds plan by $20k; South misses by $10k",
    "source": "Illustrative data",
    "footnotes": ["AC = actual; PL = plan."]
  }
}
npx boardplot render variance.json --out variance.svg