Klar

Charts / React science and statistics charts / Statistics

Forest plot

Study estimates sized by weight with a pooled diamond, side table and heterogeneity note, the standard summary of a meta-analysis.

React component ForestPlot, data through props. Uncertainty made visible: fits, intervals, survival and effect sizes. Tags: forest-plot, meta-analysis, confidence-interval, effect-size, odds-ratio, clinical.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, ForestPlot } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/sci-forest-plot.json

Usage

<ForestPlot studies={capTrials} measure="RR" model={model} favours={['Favours steroids', 'Favours placebo']} domain={[0.2, 5]} height={540} />

Related forest plot charts