Observable PlotStatistical
Forest Plot
Forest plot for effect sizes, odds ratios, or meta-analysis results.
Preview placeholder
forest-v1
Installation
Terminal
npx @ontopic/viz add plot/generic/forest-v1Props
| Prop | Type | Description |
|---|---|---|
data | ForestData[] | Effect sizes with CIs |
nullValue | number | Reference line value |
See full TypeScript interface on GitHub for all props.
Usage Example
TypeScript
import { ForestPlot } from '@/viz/components/plot/generic/forest-v1';Metadata
- Last Updated2025-01-12
- FrameworkObservable Plot
- CategoryStatistical
- Subcategorygeneric
Observable Plot Statistical Forest Plot Meta-analysis
Dependencies
@observablehq/plot
Quick Install
npx @ontopic/viz add plot/generic/forest-v1Related Components
recharts
Histogram (Recharts)
Distribution histogram with mean/median reference lines using Recharts.
recharts
Violin Plot
Kernel density estimation violin plots for distribution comparison across categories.
recharts
Scatter with Regression
Scatterplot with OLS regression line and confidence bands. Includes R-squared display.
plot
Marijuana Opinion Trend
GSS marijuana legalization trends by church attendance and other demographics.