Skip to content
IndexRequest a UIAboutContact

Bullet Chart with Target Bands

Compact horizontal bullet charts that show an actual value, a target line and poor, fair and good ranges in one row.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Clean dashboard of three horizontal bullet charts stacked, labelled Revenue, New customers and Satisfaction, each with three grey background bands from dark to light, a thin dark actual bar inside, and a vertical target tick, the values and targets written at the right, small scale ticks at the bottom, light theme, flat vector style, neutral greys with one blue actual bar. Negative: 3D, gradients, rainbow colours, text errors, clutter. Reduced motion: static design.

About this pattern

Definition

A bullet chart packs a metric, its goal and its context into one small bar. Behind the bar sit shaded bands for poor, fair and good ranges; the dark bar is the actual value; a thin vertical mark shows the target. It replaces large dial gauges and uses far less space.

Purpose & UX principles

  • Draw the bands as three shades of one neutral colour, darkest for poor.
  • Draw the actual value as a narrower dark bar centred in the band area.
  • Mark the target with a thin vertical tick taller than the bar.
  • Put the label and numbers beside the bar, and share the same scale across rows only if the units match.

Interaction states

  • Switch between this quarter and last quarter; hover or focus a row for detail.

Motion specification

  • Bars slide over 400ms.
  • Reduced motion: no slide.

Responsive behaviour

  • Do not rely on band colours alone; add the numeric value and target as text.
  • Pick bands from agreed thresholds, not from looking at the data.

Code

HTML
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Period"><button data-p="0" aria-pressed="true">This quarter</button><button data-p="1" aria-pressed="false">Last quarter</button></div><div class="bl" id="bl"></div><p class="out" id="out" role="status">Hover or focus a row.</p></div>

Related patterns

Radial Gauge Meter

↗
Radial Gauge MeterData Visualization

Sparkline Trend Rows

↗
Sparkline Trend RowsData Visualization

Stat Card with Trend Delta

↗
Stat Card with Trend DeltaCards & Containers