Charts / React science and statistics charts
React science and statistics charts
Statistical charts for React in SVG: Kaplan–Meier survival curves with log-rank test, forest plots, regression with confidence bands, raincloud, hexbin density, histogram with KDE, spectrogram and parallel coordinates.
npm i klar-charts
- Spectrogram: Time–frequency power in dB on a canvas raster with harmonic callouts and annotation bands, for spotting tones, sweeps and resonances in a…
- Raincloud plot: Half-violin, box plot and raw points per group in one row, so the shape, the summary and every observation are visible at once.
- Histogram with density: A histogram with its kernel density, a fitted normal, quantile tails and a summary box, for judging skew and fit at a glance.
- Kaplan–Meier survival: Survival curves with confidence bands, censor ticks, median guides, a log-rank test and the numbers at risk aligned under the time axis.
- Forest plot: Study estimates sized by weight with a pooled diamond, side table and heterogeneity note, the standard summary of a meta-analysis.
- Regression scatter: A grouped scatter with a least-squares fit, confidence and prediction bands, marginal densities and the fitted equation, with residuals on…
- Hexbin density: Thousands of points binned into hexagons on a sequential ramp with density contours, for scatter that is too dense to read point by point.
- Parallel coordinates: One axis per variable and one line per sample, with drag-to-brush filters on any axis, for finding the profile that separates groups.