Back to dashboards
ComponentChartFree

Bullet Chart React component

A bullet chart for goals: one compact row per KPI with poor / fair / good bands, the actual value as a bar, a target line, last quarter's marker and an on-track / at-risk / behind status, including metrics where lower is better.

About the Bullet Chart component

Bullet Chart packs a goal into one compact row: background bands show poor, fair and good, a bar shows where you are, a line marks the target and a small diamond shows last quarter. Each row ends with the value and a status: on track, at risk or behind.

It handles metrics where less is better, like response time or churn, by flipping the bands and the status. Hover, tap or use the arrow keys for a row's full numbers.

When to use it

Use it for OKR and goal dashboards, sales targets, SLA and support metrics, budgets and quarterly business reviews: anywhere several KPIs each have a target.

It replaces gauges and dials with something that takes a fraction of the space and is easier to compare.

Installation

Add the Bullet Chart component to your project with the shadcn CLI. It lands in components/bullet-chart.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/bullet-chart

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Chart components

Realtime Line Chart
Free
Streamgraph
Free
Neon Pulse Line Chart
Free
Radial Bar Chart
Free
Marching Ants Line Chart
Free
Contribution Heatmap
Free