Skip to main content

Visualize risk-of-bias in systematic reviews and meta-analyses

Project description

Preview

Python Version License DOI PyPI Downloads conda-forge

Critiplot is an open-source Python package for visualizing risk-of-bias (RoB) assessments across multiple evidence synthesis tools:

  • Newcastle-Ottawa Scale (NOS)

  • JBI Critical Appraisal Checklists (Case Report / Case Series)

  • GRADE certainty of evidence

  • ROBIS for systematic reviews

  • It produces publication-ready traffic-light plots and stacked bar charts for summarizing study quality.

  • Python Package: https://pypi.org/project/critiplot/1.1.0/


Data & Template

  • Please strictly follow the Data & Template (available as .csv & excel format) as mentioned in the main Critiplot Web: critiplot.vercel.app

📥 Installation

You can install Critiplot directly from PyPI (works the best with Python 3.13 version):

pip install critiplot

Or install locally from source:

# Clone repository
git clone https://github.com/aurumz-rgb/Critiplot-main.git
cd Critiplot-Package

# Install requirements
pip install -r requirements.txt

# Install package locally
pip install .

Requires Python 3.11+ (Recommended: use Python 3.13 version), Matplotlib, Seaborn, and Pandas.


⚡ Usage

Import the plotting functions from the package:

import critiplot

from critiplot import plot_nos, plot_jbi_case_report, plot_jbi_case_series, plot_grade, plot_robis

Example:

# NOS
plot_nos("tests/sample_nos.csv", "tests/output_nos.png", theme="blue")

# ROBIS
plot_robis("tests/sample_robis.csv", "tests/output_robis.png", theme="smiley")

# JBI Case Report
plot_jbi_case_report("tests/sample_jbi_case_report.csv", "tests/output_case_report.png", theme="gray")

# JBI Case Series
plot_jbi_case_series("tests/sample_jbi_case_series.csv", "tests/output_case_series.png", theme="smiley_blue")

# GRADE
plot_grade("tests/sample_grade.csv", "tests/output_grade.png", theme="green")

Theme options:

  • NOS, JBI Case Report / Case Series, ROBIS: "default", "blue", "gray", "smiley", "smiley_blue"
  • GRADE: "default", "green", "blue"
  • Default theme is used if omitted.

Sample

Python Result

Python Result2

Use Critiplot Python package validation repository if you want: https://github.com/critiplot/Critiplot-Validation


Notes

  • Generates traffic-light plots and weighted bar charts using Matplotlib / Seaborn.
  • Input data must be a CSV or Excel file following each tool’s required columns.
  • Critiplot is a visualization tool only; it does not compute risk-of-bias.

Info


Citation

If you use this software, please cite it using the following metadata:

cff-version: 1.2.0
message: "If you use this software, please cite it using the following metadata."
title: "Critiplot: A Python based Package for risk-of-bias data visualization in Systematic Reviews & Meta-Analysis"
version: "v1.1.0"
doi: "10.5281/zenodo.17338087"
date-released: 2025-09-06
authors:
  - family-names: "Sahu"
    given-names: "Vihaan"
preferred-citation:
  type: software
  authors:
    - family-names: "Sahu"
      given-names: "Vihaan"
  title: "Critiplot: A Python based Package for risk-of-bias data visualization in Systematic Reviews & Meta-Analysis"
  version: "v1.1.0"
  doi: "10.5281/zenodo.17338087"
  year: 2025
  url: "https://doi.org/10.5281/zenodo.17338087"

Or cite as:

Sahu, V. (2025). Critiplot: A Python based Package for risk-of-bias data visualization in Systematic Reviews & Meta-Analysis (v1.1.0). Zenodo. https://doi.org/10.5281/zenodo.17338087


📜 License

Apache 2.0 © 2025 Vihaan Sahu


Example / Result

Here’s an example traffic-light plot generated using Critiplot with different themes:

Example Result Example Result11 Example Result22 Example Result33 Example Result44 NOS

Example Result1 Example Result12 Example Result13 GRADE

Example Result2 Example Result21 Example Result23 Example Result29 Example Result26 ROBIS

Example Result3 Example Result34 Example Result36 Example Result37 Example Result38 JBI Case Report

Example Result4 Example Result41 Example Result42 Example Result43 Example Result46 JBI Case Series

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

critiplot-1.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

critiplot-1.1.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file critiplot-1.1.0.tar.gz.

File metadata

  • Download URL: critiplot-1.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for critiplot-1.1.0.tar.gz
Algorithm Hash digest
SHA256 53a1edad3951164891bd2e39708baa6a0c563ff7bd142be51a299896d84f37e5
MD5 0f700ccc65ca768a900561ebce77c332
BLAKE2b-256 4e79a5db2bb561b62061c768e075b1a064acafa95467a5674dd15f7c14686299

See more details on using hashes here.

File details

Details for the file critiplot-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: critiplot-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for critiplot-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15d38927d68ccc3ab39e781973a3b28bda75b14e1fab0a243e00aa435c15ccd4
MD5 db3a445d3c2b4b8e0533c1299b95d939
BLAKE2b-256 42ad343c5ca5c0fab0a33acb1d5caad7ac769feb6884bb16789925e43d0b6baf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page