Clinical trial participant flow
Illustrative participant counts from screening through trial follow-up.
Related reference: CONSORT 2025
A Sankey diagram generator for source, target and value tables, with node-balance checks and editable SVG export.
| Source | Target | Value | Remove row |
|---|---|---|---|
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value | |
| Source | Target | Value |
| Node | Incoming | Outgoing | Difference | Status |
|---|---|---|---|---|
| Assessed | 0 | 180 | -180 | Source or sink |
| Randomised | 120 | 120 | 0 | Balanced |
| Excluded | 60 | 0 | 60 | Source or sink |
| Arm A | 60 | 60 | 0 | Balanced |
| Arm B | 60 | 60 | 0 | Balanced |
| Completed A | 54 | 0 | 54 | Source or sink |
| Withdrawn A | 6 | 0 | 6 | Source or sink |
| Completed B | 55 | 0 | 55 | Source or sink |
| Withdrawn B | 5 | 0 | 5 | Source or sink |
Illustrative participant counts from screening through trial follow-up.
Related reference: CONSORT 2025
Illustrative material input split into product, recovery and waste.
Related reference: US EPA
Illustrative sequencing reads split by alignment and mapping outcome.
Related reference: Li et al., 2009
Illustrative student choices across two fields of study.
Related reference: Eurostat, educ_uoe_enrt03
Illustrative liquid transfer with an unexplained 10 mL difference.
Related reference: NISTIR 7383
| Source | Target | Value |
|---|---|---|
| Assessed | Randomised | 120 |
| Assessed | Excluded | 60 |
Enter one source, target and positive value per row, or import a table.
| Source | Incoming | Outgoing | Difference |
|---|---|---|---|
| B | 100 | 90 | 10 |
Review incoming and outgoing totals without adding balancing flows.
Choose the figure size and download an editable SVG or 300 DPI PNG.
Compare the incoming and outgoing totals at an intermediate node. A difference may reflect loss, accumulation, missing data or a different reporting boundary; inspect the source data before interpreting it.
100 mL enters and 100 mL leaves; the difference is zero.
| Node | Incoming | Outgoing | Difference |
|---|---|---|---|
| Transferred | 100 | 100 | 0 |
100 mL enters and 90 mL leaves; the difference is 10 mL.
| Node | Incoming | Outgoing | Difference |
|---|---|---|---|
| Transferred | 100 | 90 | 10 |
Enter rows directly or paste or upload CSV or TSV with source, target and value columns.
All bands use one common scale: a flow twice as large is twice as wide.
Each value must be a finite positive number. Correct missing, zero or negative values before drawing.
This version supports directed acyclic flows. Self-links and cycles are reported for correction.
Duplicate source–target links are rejected. Labels match exactly after trimming surrounding whitespace; use distinct names for different stages.
The balance table and SVG description report the difference. No balancing flow is added.
SVG is a vector file that can be edited in compatible software. PNG is a 300 DPI raster image.
The diagram is processed locally in your browser. A draft may be saved in browser storage on this device.
Yes. Supply positive energy flows in one unit, such as kWh, for the same reporting period. Enter measured or externally calculated values; this tool does not calculate energy use or invent missing losses.
Turn your own flow data into a clear diagram.
Go to the editor