Klar

Charts / React science and statistics charts / Statistics

Normal Q–Q plot

Sample quantiles against normal quantiles with a quartile reference line, a 95% envelope and Shapiro–Wilk and Lilliefors tests, or the ECDF against the fitted normal.

React component QQPlot, data through props. Uncertainty made visible: fits, intervals, survival and effect sizes. Tags: qq-plot, normality, shapiro-wilk, ecdf, kolmogorov-smirnov, residuals, distribution.

Install

npm i klar-charts

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

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

Usage

<QQPlot groups={rtGroups} mode={mode} transform={tf} height={430} valueLabel="Reaction time (ms)" format={ms} />

Related normal q–q plot charts