Skip to content
ChartslibraryUI
Get Pro

React cumulative flow diagram

Items in each workflow state over time, stacked; shows WIP growth and the time from start to done.

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

A cumulative flow diagram shows work moving through a process. For every day it stacks the number of items in each state, with Done at the bottom and the backlog on top. Parallel bands mean steady flow; a band that keeps getting wider means work is piling up in that state.

The chart reads two numbers off the curves for you. Work in progress is everything between the first and last state today. The time from start to done is the horizontal distance between the started curve and the done curve at today's done count, drawn as a dashed line with the answer in days. The tooltip lists every state on any day, and the summary adds throughput over the last week. If Done ever goes down, the chart warns you, because the last state should only grow.

For progress toward a fixed sprint goal, use a burndown chart.

When to use

  • Sprint and kanban flow reviews
  • Finding the bottleneck stage
  • Support or operations queues over time

When not to use

Good practice

  • Count items at the same time every day.
  • Keep Done cumulative (everything finished so far).
  • Watch the band that widens: that's the bottleneck.

Installation

Cumulative flow diagram is a Pro chart.

Installation is part of Pro

Get Pro to install it with your access key and the shadcn CLI, and use it in unlimited projects.

Unlock with Pro

Usage

Usage examples are part of Pro

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

Unlock with Pro

Data

One row per period in time order with a period key and the count of items in each state; the last state is cumulative done.

[{ day: "Oct 12", todo: 32, doing: 5, review: 6, done: 8 }, ...]

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 CumulativeFlowChartProps extends FrameProps {
  /** One row per period (day or week) in time order, with the number of items in each state. */
  data: Row[];
  /** Key of the period label. */
  x: string;
  /** Workflow states from first (e.g. "To do") to last ("Done"). Done is drawn at the bottom. */
  states: CumulativeFlowState[];
  /** Word for one period, used in the start-to-done call-out. Default "days". */
  unit?: string;
}

Burndown chart

Work remaining (or done) against the ideal pace, with the finish projected from the pace so far.

Stacked area chart

A total over time and what it's made of, in absolute terms or as 100% shares.

Pro

Control chart

A process over time against its own natural limits, marking the points that are real signals.

Sign in to ChartslibraryUI

New here? The same step creates your account.

Continue with Google
or

No password needed. Bought Pro? Use the email you paid with and your license is there. By signing in you agree to the Terms and Privacy policy.