Skip to content
ChartslibraryUI Get Pro

Bullet chart

KPIs against targets and qualitative ranges: the compact replacement for gauges.

When to use

  • Several KPIs against targets on one panel
  • Attainment with poor/fair/good ranges

When not to use

  • No targets or ranges exist – use KPI row

Good practice

  • Each row has its own format and scale, so mixed units are fine.
  • Bands are grey; colour is reserved for the actual.

Installation

Bullet chart 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 bullet-chart --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

An array of { label, actual, target, bands, format }.

[{ label: "New ARR", actual: 2.64e6, target: 3e6, bands: [2.1e6, 2.7e6, 3.3e6], format: "currency" }]

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 BulletChartProps extends FrameProps {
  data: BulletItem[];
  actualLabel?: string;
  targetLabel?: string;
}

Target bar chart

Progress against a target per item: bar, target tick and attainment in words.

KPI tile

A headline number with its comparison, direction-aware colour and an optional sparkline.