Skip to content

Commit d5074ee

Browse files
spec: add area-cumulative-flow specification (#5254)
## New Specification: `area-cumulative-flow` Related to #5239 --- ### specification.md # area-cumulative-flow: Cumulative Flow Diagram for Workflow Analytics ## Description A cumulative flow diagram (CFD) displays the cumulative count of items in each workflow stage as stacked areas over time. Each band represents a stage (e.g., Backlog, In Progress, Done), and the vertical distance between two adjacent band boundaries shows the number of items currently in that stage (work-in-progress). This is a key visualization in Lean and Agile project management for identifying bottlenecks, monitoring throughput, and assessing flow efficiency across a delivery pipeline. ## Applications - Monitoring Kanban board throughput and cycle time to assess team delivery performance - Identifying bottlenecks in software development pipelines by spotting widening or narrowing bands - Tracking manufacturing workflow stages over time to optimize production flow - Visualizing support ticket lifecycle stages to measure resolution efficiency ## Data - `date` (date) - time axis representing the reporting period - `stage` (categorical, ordered) - workflow stage name in process order (e.g., Backlog, Analysis, Development, Testing, Done) - `count` (int) - cumulative number of items that have entered or passed through that stage by the given date - Size: 30-365 days, 4-8 stages - Example: daily cumulative item counts across a Kanban board with stages Backlog, In Progress, Review, Done over 90 days ## Notes - Stages must be stacked in workflow order: earliest stage (e.g., Backlog) on top, latest stage (e.g., Done) on bottom - The vertical distance between two adjacent band boundaries represents the number of items currently in that stage (WIP) - Cumulative counts are monotonically non-decreasing; each stage's count should always be greater than or equal to the count of the next stage in the workflow - Widening bands indicate growing WIP or bottlenecks; narrowing bands indicate stages draining faster than they fill - Use a sequential or distinct color palette where earlier stages are visually distinguishable from later stages - Include a legend identifying each workflow stage - X-axis should display date labels at reasonable intervals --- **Next:** Add `approved` label to the issue to merge this PR. --- :robot: *[spec-create workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/24290818442)* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 46f27fa commit d5074ee

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# area-cumulative-flow: Cumulative Flow Diagram for Workflow Analytics
2+
3+
## Description
4+
5+
A cumulative flow diagram (CFD) displays the cumulative count of items in each workflow stage as stacked areas over time. Each band represents a stage (e.g., Backlog, In Progress, Done), and the vertical distance between two adjacent band boundaries shows the number of items currently in that stage (work-in-progress). This is a key visualization in Lean and Agile project management for identifying bottlenecks, monitoring throughput, and assessing flow efficiency across a delivery pipeline.
6+
7+
## Applications
8+
9+
- Monitoring Kanban board throughput and cycle time to assess team delivery performance
10+
- Identifying bottlenecks in software development pipelines by spotting widening or narrowing bands
11+
- Tracking manufacturing workflow stages over time to optimize production flow
12+
- Visualizing support ticket lifecycle stages to measure resolution efficiency
13+
14+
## Data
15+
16+
- `date` (date) - time axis representing the reporting period
17+
- `stage` (categorical, ordered) - workflow stage name in process order (e.g., Backlog, Analysis, Development, Testing, Done)
18+
- `count` (int) - cumulative number of items that have entered or passed through that stage by the given date
19+
- Size: 30-365 days, 4-8 stages
20+
- Example: daily cumulative item counts across a Kanban board with stages Backlog, In Progress, Review, Done over 90 days
21+
22+
## Notes
23+
24+
- Stages must be stacked in workflow order: earliest stage (e.g., Backlog) on top, latest stage (e.g., Done) on bottom
25+
- The vertical distance between two adjacent band boundaries represents the number of items currently in that stage (WIP)
26+
- Cumulative counts are monotonically non-decreasing; each stage's count should always be greater than or equal to the count of the next stage in the workflow
27+
- Widening bands indicate growing WIP or bottlenecks; narrowing bands indicate stages draining faster than they fill
28+
- Use a sequential or distinct color palette where earlier stages are visually distinguishable from later stages
29+
- Include a legend identifying each workflow stage
30+
- X-axis should display date labels at reasonable intervals
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Specification-level metadata for area-cumulative-flow
2+
# Auto-synced to PostgreSQL on push to main
3+
4+
spec_id: area-cumulative-flow
5+
title: Cumulative Flow Diagram for Workflow Analytics
6+
7+
# Specification tracking
8+
created: "2026-04-11T20:22:20Z"
9+
updated: null
10+
issue: 5239
11+
suggested: MarkusNeusinger
12+
13+
# Classification tags (applies to all library implementations)
14+
# See docs/reference/tagging-system.md for detailed guidelines
15+
tags:
16+
plot_type:
17+
- area
18+
- stacked
19+
data_type:
20+
- timeseries
21+
- categorical
22+
- numeric
23+
domain:
24+
- business
25+
- technology
26+
features:
27+
- stacked
28+
- cumulative
29+
- flow
30+
- temporal

0 commit comments

Comments
 (0)