Menu

Diagrams
Static
48 Python scripts generated for consort diagram this week

CONSORT Diagram

Chart overview

CONSORT diagrams are standardized flow charts required by journals for reporting randomized controlled trials, showing the number of participants screened, enrolled, randomly allocated, followed up, and analyzed at each stage.

Key points

  • Clinical researchers use these figures to transparently document exclusions, dropouts, and protocol deviations according to CONSORT 2010 guidelines.
  • The diagram structure ensures reproducibility and allows readers to assess potential bias in participant selection and attrition.

Example Visualization

CONSORT flow diagram showing participant flow through stages of screening, enrollment, randomization, follow-up, and analysis

Create This Chart Now

Generate publication-ready consort diagrams with AI in seconds. No coding required – just describe your data and let AI do the work.

View example prompt
Example AI Prompt

"Create a CONSORT flow diagram from my data. Draw a vertical flowchart with boxes for Enrollment (screened, excluded with reasons, enrolled), Allocation (intervention and control arms), Follow-up (lost to follow-up per arm), and Analysis (analyzed per arm). Connect boxes with downward arrows. Use clean rectangular boxes with black borders, Arial font, and journal formatting."

How to create this chart in 30 seconds

1

Upload Data

Drag & drop your Excel or CSV file. Plotivy securely processes it in your browser.

2

AI Generation

Our AI analyzes your data and generates the CONSORT Diagram code automatically.

3

Customize & Export

Tweak the design with natural language, then export as high-res PNG, SVG or PDF.

Python Code Example

Loading code...

Console Output

Output
Figure saved: plotivy-consort-diagram.png

Common Use Cases

  • 1Reporting participant flow in phase II and III randomized controlled trials
  • 2Documenting screening, exclusion, and randomization counts in systematic reviews
  • 3Visualizing per-protocol versus intention-to-treat analysis populations
  • 4Presenting patient attrition and loss to follow-up in longitudinal observational studies

Pro Tips

Use matplotlib FancyBboxPatch and annotations with arrowprops to construct boxes and arrows programmatically

Strictly follow CONSORT 2010 box labels and stage names to satisfy journal requirements

Include reason counts for all exclusions in nested format within each exclusion box

Maintain consistent box widths and vertical spacing to keep the diagram readable at journal column width

Free Cheat Sheet

Scientific Chart Selection Cheat Sheet

Not sure whether to use a Violin Plot, Box Plot, or Ridge Plot? Download our single-page reference mapping the most-used scientific chart types, exactly when to use them, and the core Matplotlib/Seaborn functions.

Comparison Charts
Distribution Charts
Time Series Data
Common Mistakes
No spam. Unsubscribe anytime.