Skip to content

Chart cookbook

Every chart CodeSplash can draw: the question it answers, how to read it, the settings it starts with, and the code that draws the same chart in matplotlib, plotly, ggplot2 or DuckDB SQL.

recipes
293
families
21
charts, light and dark
586
reading cards
293
code snippets
946

Generated 2026-11-08 from the app's chart registry. Charts are the app's own SVG exports of seeded demo data (seed 20261101) at default settings, in the theme you pick.

One-file edition17.9 MB · every recipe in one HTML file, offline

293 recipes

Distributions

Shape, spread and outliers of one or more numeric variables.

17
HistogramCounts in equal-width bins, with optional density curve, normal fit and rug.matplotlib · plotly · ggplot2 · SQLBox & violinTukey box plots (type-7 quartiles) with optional violins, notches and means.matplotlib · plotly · ggplot2 · SQLDensity curveGaussian KDE with a bandwidth comparison (×0.5, ×1, ×2) or one curve per group.matplotlib · plotly · ggplot2 · SQLRidgelineOne KDE per group stacked with overlap — good for many groups or an ordered factor (months, ranks).matplotlib · plotly · ggplot2 · SQLECDFEmpirical cumulative distribution per group with a DKW 95 % band — no bins, no bandwidth.matplotlib · plotly · ggplot2 · SQLNormal Q–Q plotSample quantiles against N(0, 1) with R's qqline and an exact pointwise 95 % envelope; detrended view.matplotlib · plotly · ggplot2Normal P–P plotFitted-normal cumulative probabilities against plotting positions; most sensitive in the middle (Q–Q is better for tails).matplotlib · plotly · ggplot2RaincloudHalf violin (cloud) + box plot + jittered raw points (rain) per group, horizontal.matplotlib · plotly · ggplot2 · SQLStrip plot with mean ± CIJittered raw points per group with mean ± 95 % t interval (or SE/SD) beside them.matplotlib · plotly · ggplot2 · SQLBeeswarmEvery point placed at its exact value and nudged sideways to avoid overlap (≤ ~1,000 per group).matplotlib · plotly · ggplot2Dot plot (Wilkinson)One dot per observation, stacked in Wilkinson dot-density bins — a histogram you can count.matplotlib · plotly · ggplot2 · SQLLetter-value (boxen) plotNested boxes at the median-halving quantiles (fourths, eighths, …): box plots that scale to large n.matplotlib · plotly · ggplot2 · SQLFrequency polygonBin counts joined at bin midpoints — overlays several groups more legibly than stacked histograms.matplotlib · plotly · ggplot2 · SQLStem-and-leafTukey's text display (R `stem()`): stems are leading digits, leaves the next digit of each value.matplotlib · ggplot22-D histogramCounts on a rectangular grid with a sequential colour ramp; canvas beyond 10,000 cells.matplotlib · plotly · ggplot2 · SQLHexbinCounts in a hexagonal lattice (matplotlib's) with a sequential ramp and optional log scale.matplotlib · plotly · ggplot2 · SQL2-D density contoursBivariate Gaussian KDE (MASS::kde2d) drawn as filled density bands, with optional points.matplotlib · plotly · ggplot2 · SQL

Categories & comparison

Counts, shares and summaries across groups.

14
Bar chartCounts or shares per level, sorted by frequency, with “Other” beyond the top levels.matplotlib · plotly · ggplot2 · SQLGrouped barsSide-by-side bars for each category × subgroup, as counts or as a share within each subgroup.matplotlib · plotly · ggplot2 · SQLStacked barsStacked segments per category, as counts or normalised to 100 % to compare composition.matplotlib · plotly · ggplot2 · SQLRanked barsHorizontal bars of an aggregate per category, ranked, top N — labels stay readable.matplotlib · plotly · ggplot2 · SQLLollipop chartRanked stems from zero with a dot at each category's aggregate.matplotlib · plotly · ggplot2 · SQLCleveland dot plotOne row per category with a dot per group; no zero baseline needed, so small differences show.matplotlib · plotly · ggplot2 · SQLDumbbell chartTwo dots per category joined by a bar, sorted by the change, with the gap labelled.matplotlib · plotly · ggplot2 · SQLSlope chartLines from the first to the second period per category, labelled at both ends, biggest movers emphasised.matplotlib · plotly · ggplot2 · SQLLikert diverging barsResponse shares centred on neutral: disagreement extends left, agreement right; items ranked by net agreement.matplotlib · plotly · ggplot2 · SQLPareto chartBars sorted descending with the cumulative share on a 0–100 % axis and an 80 % reference.matplotlib · plotly · ggplot2 · SQLMosaic plotTile areas proportional to counts; widths show one variable, heights the other within it; shading by residuals.matplotlib · plotly · ggplot2 · SQLWaffle chartA 10 × 10 grid where each square is 1 % of rows; easier to read than a pie for a few categories.matplotlib · plotly · ggplot2 · SQLPoint-range (mean ± CI)Group means with t-based confidence intervals (or ± SE / ± SD) over the raw points.matplotlib · plotly · ggplot2 · SQLInteraction plotCell means of y across one factor, one line per level of a second factor, with dodged CIs — non-parallel lines suggest an interaction.matplotlib · plotly · ggplot2 · SQL

Relationships

How two or more variables move together.

9

Composition

Parts of a whole and how totals build up.

7

Time series

Trends, seasonality and change over time.

33
Line chartOne line per series, resampled to days, ISO weeks or months, with a CI or min–max band and event markers.matplotlib · plotly · ggplot2 · SQLArea chartFilled series from a zero baseline; several series overlap with transparency (not stacked).matplotlib · plotly · ggplot2 · SQLStep chartStep-after lines: each value holds until the next change; or the cumulative sum or count of rows.matplotlib · plotly · ggplot2 · SQLSmall multiplesOne mini line chart per group on a shared time axis and (by default) a shared y scale.matplotlib · plotly · ggplot2 · SQLCalendar heatmapDaily totals as week × weekday cells per year (Monday-first), on a sequential ramp.matplotlib · plotly · ggplot2 · SQLWeekday × hour heatmapCounts (or the mean of a value) in a 7 × 24 grid of ISO weekdays by hour of day.matplotlib · plotly · ggplot2 · SQLSeasonal subseries (cycle plot)Each month's values across years as a mini line, with the month mean as a reference segment.matplotlib · plotly · ggplot2 · SQLLag plotEach value against the value k observations earlier, with the identity line and Pearson r.matplotlib · plotly · ggplot2 · SQLACF & PACFAutocorrelation and partial autocorrelation by lag with the ±1.96/√n white-noise bounds, as in R.matplotlib · plotly · ggplot2 · SQLRolling statisticsTrailing rolling mean with a ±k rolling-SD band over the raw series; points outside the band are flagged.matplotlib · plotly · ggplot2 · SQLZoom with overviewFocus + context: a detail chart driven by a draggable window on an overview strip of the whole series.matplotlib · plotly · ggplot2 · SQLSeries with break markerOne or several series against dates or numbers, with an optional marker at an estimated break (Zivot–Andrews, Pettitt…).matplotlib · plotly · ggplot2Seasonal decompositionObserved, trend, seasonal and remainder panels on a shared time axis, as STL, MSTL or classical decomposition returns them.matplotlib · plotly · ggplot2PeriodogramRaw periodogram at the Fourier frequencies with the strongest period labelled and the declared season's harmonics marked.matplotlib · plotly · ggplot2Ljung–Box p-values by lagThe portmanteau p-value for lags 1…L, with the 5% line: points below it say the autocorrelations up to that lag are not all zero.matplotlib · plotly · ggplot2Cross-correlationCorrelation of a[t + k] with b[t] for lags −L…L with white-noise bounds; peaks at negative k mean a moves first.matplotlib · plotly · ggplot2Cointegration spreadResiduals of the long-run (cointegrating) regression with their mean and ±k SD band: a stationary spread crosses the mean often.matplotlib · plotly · ggplot2Diebold–Mariano matrixEvery pair of forecasts compared with the HLN-corrected Diebold–Mariano test; the diagonal shows each forecast's mean loss.matplotlib · plotly · ggplot2Trend with Sen's slopeThe series with Sen's slope (the median of all pairwise slopes) and its rank-based interval; the title gives Mann–Kendall's τ and p.matplotlib · plotly · ggplot2Pettitt's change-point curvePettitt's U_t at every split: its largest absolute value K marks the most probable change point; crossing the dashed line means p < α.matplotlib · plotly · ggplot2Buishand cumulative deviationsPartial sums of deviations from the overall mean, scaled by the sd: a single tent shape peaks at a level shift; a smooth arch suggests a trend instead.matplotlib · plotly · ggplot2Series with segment meansThe series with a horizontal line at the mean of each segment (from PELT or any segmentation) and dashed lines at the changes.matplotlib · plotly · ggplot2Fluctuation process with boundariesAn empirical fluctuation process from a regression fitted in time order with its 5% boundaries: leaving the band signals a change in the coefficients.matplotlib · plotly · ggplot2F statistics over candidate breaksThe Chow F statistic for a break after each candidate date (trimmed ends), its maximum (sup-F) and the 5% critical value of the maximum.matplotlib · plotly · ggplot2Recursive coefficient estimatesA coefficient re-estimated on the first r rows for growing r, with its ±1.96 SE band and the full-sample value: steady drift outside early bands suggests instability.matplotlib · plotly · ggplot2Impulse responsesOne panel per response and shock from a VAR or VECM: the path after a one-standard-deviation shock, with bootstrap bands when the run computed them.matplotlib · plotly · ggplot2Forecast error variance decompositionOne stacked area per series: the share of its forecast error variance due to each shock, as the horizon grows.matplotlib · plotly · ggplot2Volatility bandThe series with a band of ±k conditional standard deviations from a GARCH-type model, extended over the forecast horizon.matplotlib · plotly · ggplot2Backtest origin stripOne strip per origin: the values it trains on, then the window it forecasts and is scored on. Every model in a forecast experiment shares these origins.matplotlib · plotly · ggplot2PIT histogramWhere each actual fell in its predicted distribution. Flat means calibrated; a U means intervals are too narrow; a hump means too wide; a slope means bias.matplotlib · plotly · ggplot2Coverage by horizonThe share of backtest actuals inside each interval at each horizon, against its nominal level. Lines below their dashed target mean the intervals are too narrow.matplotlib · plotly · ggplot2Forecast by partThe forecast on top and, under it, each additive part an N-BEATS or N-HiTS network produced: trend and seasonality stacks, or coarse-to-fine stacks.matplotlib · plotly · ggplot2Quantile fanThe history, then the forecast's quantile paths as nested central bands (10–90%, 20–80% …) around the median, as a pretrained model such as Chronos predicts them.matplotlib · plotly · ggplot2

Data quality

Missingness, outliers and types — the profiler's charts.

7

Inference & models

Analysis results: estimates with intervals, survival curves, ROC, power and model diagnostics.

47
Forest plotEstimates with confidence intervals on a shared axis, a reference line at the null and an optional equivalence band; log scale for ratios.matplotlib · plotly · ggplot2Estimated marginal meansModel-based means with confidence intervals per level, one line per level of a second factor (interaction plot).matplotlib · plotly · ggplot2Kaplan–Meier curveSurvival step functions with confidence bands, censoring ticks, median guides and a number-at-risk table.matplotlib · plotly · ggplot2Cumulative incidence (competing risks)Aalen–Johansen cumulative incidence step functions per cause (and group), with confidence bands when supplied.matplotlib · plotly · ggplot2ROC curveSensitivity against 1 − specificity for one or more markers, chance diagonal, AUC in the legend and the chosen cutoff marked.matplotlib · plotly · ggplot2Power curvePower against n or effect size for one or more scenarios, with the target line and the n where each curve crosses it.matplotlib · plotly · ggplot2Bland–Altman plotDifferences against means of paired measurements with the mean bias, 95% limits of agreement, their confidence bands and an optional proportional-bias line.matplotlib · plotly · ggplot2Regression diagnostics panelFour panels in the R plot.lm layout: residuals vs fitted, normal Q–Q, scale–location and residuals vs leverage with Cook's distance contours.matplotlib · plotly · ggplot2Matrix heatmapCells coloured on a diverging or sequential ramp with printed values: correlation, p-value and confusion matrices.matplotlib · plotly · ggplot2Paired lines (spaghetti plot)One line per subject across repeated conditions with the condition means on top — shows individual change behind a paired or repeated-measures test.matplotlib · plotly · ggplot2Calibration plotObserved proportion against mean predicted probability per group (bins or deciles), with intervals, marker size by n and the identity line.matplotlib · plotly · ggplot2Hanging rootogramObserved counts hang as bars from the model's expected frequencies on a square-root scale; bars ending above or below zero show misfit.matplotlib · plotly · ggplot2Schoenfeld residualsScaled Schoenfeld residuals against time, one panel per term, with a smooth estimate of β(t); a flat smooth supports proportional hazards.matplotlib · plotly · ggplot2Compact letter displayGroup means with intervals and letters from a post hoc test: groups sharing a letter are not significantly different.matplotlib · plotly · ggplot2Critical-difference diagramMean ranks on one axis with bars joining groups that a rank post hoc test (Nemenyi, Conover–Iman, Dunn, DSCF) does not separate.matplotlib · plotly · ggplot2Null distributionThe test's reference distribution under H₀ with the observed statistic, the area beyond it (the p-value) and the rejection region.matplotlib · plotly · ggplot2Two-sample ECDF with KS gapBoth groups' empirical CDFs with the largest vertical gap marked — the Kolmogorov–Smirnov statistic D.matplotlib · plotly · ggplot2Cullen–Frey graphThe sample's (and bootstrap samples') squared skewness and kurtosis against the regions and lines theoretical families can reach.matplotlib · plotly · ggplot2Fitted densities by familySmall multiples: the same histogram under each family's maximum-likelihood density, the visual companion to the AIC table of distribution fitting.matplotlib · plotly · ggplot2Estimation plot (Gardner–Altman)Every observation by group with the mean difference and its confidence interval on a floating axis anchored at the first group's mean.matplotlib · plotly · ggplot2Shift functionThe difference between the groups' quantiles (deciles by default) with simultaneous intervals: where the curve leaves 0, the groups differ.matplotlib · plotly · ggplot2Spread by groupEach group's standard deviation (or other scale) with its confidence interval, the display for equal-spread tests.matplotlib · plotly · ggplot2Ordered trendGroup centres with intervals in their declared order, joined, with the fitted trend from an ordered-alternative test (Jonckheere, Page, Cuzick, Mack–Wolfe).matplotlib · plotly · ggplot2Comparing correlationsEach correlation with its interval on the −1…1 scale, and the difference with Zou's interval underneath.matplotlib · plotly · ggplot2Dependence profilePearson r, Spearman ρ, Kendall τ, Chatterjee ξ, Hoeffding D, distance correlation and HSIC side by side with their p-values.matplotlib · plotly · ggplot2Non-inferiority & equivalence marginsEach comparison's (1 − 2α) interval against the non-inferiority margin or the equivalence bounds, with the verdict it supports.matplotlib · plotly · ggplot2Method comparisonPaired measurements with the identity line and the Passing–Bablok or Deming fit; an intercept ≠ 0 is constant bias, a slope ≠ 1 proportional bias.matplotlib · plotly · ggplot2Generalized ESD sequenceThe studentized deviation Rᵢ of each successively removed point against its critical value λᵢ; outliers are all points up to the last step where Rᵢ > λᵢ.matplotlib · plotly · ggplot2Quantile processEach coefficient of quantile regression from τ = .05 to .95 with its confidence band, against the OLS (mean) estimate.matplotlib · plotly · ggplot2Censored regression (Tobit) fitObserved outcomes against the fitted latent mean, censored observations marked at their limit: the gap below the limit is what OLS would miss.matplotlib · plotly · ggplot2Mediation path diagramExposure → mediator (a), mediator → outcome (b) and the direct path (c′), with the indirect effect (ACME) and the total effect underneath.matplotlib · plotly · ggplot2Nested model comparisonA ladder of nested models by deviance (or AIC, RSS) with the likelihood-ratio / partial-F test between neighbours.matplotlib · plotly · ggplot2Recursive residuals (CUSUM)The cumulative sum of recursive residuals in time order with the Brown–Durbin–Evans 5% bounds: crossing a bound signals a structural change.matplotlib · plotly · ggplot2Prior and posteriorThe prior and posterior densities of the effect with the credible interval, and their heights at the test value — the Savage–Dickey ratio that equals the Bayes factor.matplotlib · plotly · ggplot2Bayes factor robustnessThe Bayes factor across prior widths on a log scale over the evidence categories, with your chosen width marked.matplotlib · plotly · ggplot2Sequential Bayes factorThe Bayes factor recomputed on the first n rows, on a log scale over the evidence categories.matplotlib · plotly · ggplot2Model Bayes factorsEach model's Bayes factor against the intercept-only model on a log scale, with its posterior probability (equal prior odds).matplotlib · plotly · ggplot2Added-variable plotOutcome residuals against predictor residuals, each after removing the other predictors, one panel per term; the slope equals the multiple-regression coefficient.matplotlib · plotly · ggplot2Component-plus-residual plotEach predictor against its partial residual (its fitted component plus the model's residuals) with the straight fit and a smooth: where they part, the linear term misses a curve.matplotlib · plotly · ggplot2Cook's distance by rowCook's distance for each row in order with a cutoff line; the rows above it are named so you can look at them.matplotlib · plotly · ggplot2Box–Cox profileThe profile log-likelihood across λ with the maximum and its interval; λ = 0 is the log, λ = 1 no change, and any round value inside the interval will do.matplotlib · plotly · ggplot2Deming fitThe Deming line through paired measurements with each row's residual segment: unlike ordinary least squares, the residuals slant because x has error too.matplotlib · plotly · ggplot2Agreement chartBangdiwala's chart: one rectangle per category, sized by each rater's total, with dark squares for exact agreement and lighter bands for one step off.matplotlib · plotly · ggplot2ROC comparisonTwo scores' ROC curves on the same rows with the difference in AUC, its interval and DeLong's paired test.matplotlib · plotly · ggplot2Log–log survival plotlog(−log S(t)) against log time. Parallel curves support proportional hazards; straight lines support a Weibull distribution.matplotlib · plotly · ggplot2Cumulative hazardH(t) = −log S(t) from the survival curve. Its slope is the hazard: straight means constant, upward-bending means rising, downward-bending means falling.matplotlib · plotly · ggplot2Restricted mean survival areaThe area under each survival curve up to τ is its restricted mean survival time. The gap between the areas is a difference in time, and it stays readable when hazards are not proportional.matplotlib · plotly · ggplot2

Machine learning

Model evaluation and explanation: PR and gain curves, thresholds, importance, SHAP, PDP/ALE, tuning and validation splits.

32
Precision–recall curvePrecision against recall across thresholds for one or more models, average precision in the legend and the prevalence (no-skill) baseline.matplotlib · plotly · ggplot2Cumulative gain and liftCumulative share of positives captured (gain) or the ratio to random targeting (lift) against the share of cases targeted, highest scores first.matplotlib · plotly · ggplot2Metrics across thresholdsPrecision, recall, F1, specificity or cost as the probability threshold moves, with the chosen threshold marked and each metric's value there.matplotlib · plotly · ggplot2Predicted vs actualActual outcome against prediction, coloured by split (validation / test), with the identity line; points become a canvas image beyond 5,000.matplotlib · plotly · ggplot2Feature importanceFeatures ranked by importance (gain, permutation, mean |SHAP| or |coefficient|), largest first, with intervals when the run repeated the measurement.matplotlib · plotly · ggplot2SHAP beeswarmOne dot per row and feature at its SHAP value, features ranked by mean |SHAP|, coloured from low to high feature value; canvas beyond 5,000 dots.matplotlib · plotly · ggplot2SHAP dependenceSHAP value of one feature against its value, coloured by an interacting feature; vertical spread at one value reveals interactions.matplotlib · plotly · ggplot2SHAP waterfallFrom the average prediction E[f(x)] each feature's SHAP contribution adds or subtracts until the bars end at this row's prediction f(x).matplotlib · plotly · ggplot2Partial dependence with ICEThe average prediction across a grid of one feature (PDP) over thin per-row curves (ICE); centred ICE shows heterogeneity in the effect.matplotlib · plotly · ggplot2Accumulated local effectsFirst-order ALE: local prediction differences accumulated across the feature's quantile intervals, centred at zero, with an optional interval.matplotlib · plotly · ggplot2Learning curveTraining and validation score against the number of training rows, with bands across folds; a persistent gap means variance, two low curves mean bias.matplotlib · plotly · ggplot2Tuning historyEach trial's cross-validated score in order, pruned and failed trials marked, with the running best as a step line.matplotlib · plotly · ggplot2Validation fold stripOne strip per fold (and the final fit), rows binned in order (time order for time-series plans), each bin split into train, validation, test and excluded shares.matplotlib · plotly · ggplot2Critical-difference diagramMean ranks of several models across the same folds (1 = best); a bar joins models whose ranks differ by less than the Nemenyi critical difference — no significant difference among them.matplotlib · plotly · ggplot2Validation curveTraining and validation score across a hyperparameter's values, with bands across folds; where the curves part is where the model starts to memorize, and the ring marks the best validation score.matplotlib · plotly · ggplot2Ensemble weightsEach member's share of the ensemble's prediction (greedy selection counts, stacking coefficients or equal weights); members at zero were tried and left out.matplotlib · plotly · ggplot2Brier score over timeThe Brier score of scored predictions per period against its level at deployment; a rising line means the probabilities are drifting out of calibration (recalibrate or retrain).matplotlib · plotly · ggplot2SHAP force plotContributions that raise the score stack up to f(x) from one side and those that lower it from the other; base value + all contributions = f(x).matplotlib · plotly · ggplot2Surrogate decision treeA shallow decision tree fitted to the model's own predictions. Each leaf shows the average prediction for the rows that reach it, darker for higher.matplotlib · plotly · ggplot2Friedman's H interactionsH for each pair of features: 0 means the pair adds up, and values near 1 mean their joint effect is almost all interaction. The outlined diagonal is each feature against all the others.matplotlib · plotly · ggplot2Time-dependent AUCCumulative/dynamic AUC at each evaluation time: the chance that someone with the event by then was scored above someone still event-free.matplotlib · plotly · ggplot2Survival Brier scoreMean squared error of the predicted survival probability at each evaluation time, weighted for censoring; lower is better, and the area under it is the integrated Brier score.matplotlib · plotly · ggplot2Survival by risk groupKaplan–Meier curves of equal-sized groups cut from the predicted risk on held-out rows. Curves that separate in risk order show the model ranks well.matplotlib · plotly · ggplot2GAM partial effectsOne smooth curve per feature with a ±2 SE band: how far the feature pushes the prediction above or below average, holding the others fixed.matplotlib · plotly · ggplot2Training curvesTraining loss by epoch (or boosting round) per network, with the validation loss dashed and a ring at the epoch early stopping kept.matplotlib · plotly · ggplot2Ensemble spreadRows ordered by the ensemble's prediction: each member's prediction as a dot, the consensus as a line, its band shaded and the actual value as a tick.matplotlib · plotly · ggplot2Predicted distributionsThe predicted density (or probability mass) of a few rows, one curve each, with a dashed line at the row's actual value up to the density the model gave it.matplotlib · plotly · ggplot2Training loss and its partsOne line per loss component by epoch — a VAE's reconstruction and KL, a GAN's critic, generator and Wasserstein estimate, a diffusion model's Gaussian and multinomial losses.matplotlib · plotly · ggplot2Category embedding mapEach level's learned vector, projected on its first two principal components: levels close together act alike on the target; dot size shows how many rows the level has.matplotlib · plotly · ggplot2CNN filters (first-layer kernels)One small grid per learned kernel, shaded from negative to positive weight on a shared scale: edge, stroke and spot detectors show as stripes and blobs.matplotlib · plotly · ggplot2CNN feature mapsThe input image (outlined) next to the map each filter makes of it after the ReLU: bright cells are where the filter's pattern is found.matplotlib · plotly · ggplot2Confusion matrix (out of fold)Actual classes in rows, predicted in columns, counts printed and shaded by the share of each actual class; the diagonal (correct) is outlined and recall is listed on the right.matplotlib · plotly · ggplot2

Discover & forecasting

Clusters, dendrograms, embeddings, association rules, topics, anomalies and forecasts with backtests.

20
Cluster mapRows on two dimensions (PCA, UMAP or two features) coloured by cluster, centres marked, noise in grey, optional convex hulls; canvas beyond 5,000 rows.matplotlib · plotly · ggplot2DendrogramHierarchical clustering merges drawn at their heights, leaves in the tree's order; a cut for k clusters colours the branches below it.matplotlib · plotly · ggplot2Silhouette plotEach row's silhouette width as a thin bar, sorted within its cluster; the average silhouette dashed, negative widths flag rows closer to another cluster.matplotlib · plotly · ggplot2Choosing kEach criterion (within-cluster sum of squares, silhouette, gap, Calinski–Harabasz, Davies–Bouldin, BIC) against k in its own panel, the recommended k ringed.matplotlib · plotly · ggplot2Scree plotShare of variance per principal component (or MCA/FAMD dimension) as bars with the cumulative share as a line.matplotlib · plotly · ggplot2PCA biplotRow scores on two components as points with variable loadings as arrows from the origin (rescaled to the scores' range), labelled.matplotlib · plotly · ggplot2Association rulesEach rule at its support and confidence, coloured by lift; the highest-lift rules are labelled.matplotlib · plotly · ggplot2Topic termsOne small panel per topic with its highest-weight terms as bars (LDA word probabilities or NMF weights).matplotlib · plotly · ggplot2Anomaly score distributionHistogram of anomaly scores (isolation forest, LOF, ECOD) with flagged rows stacked in red and the threshold marked.matplotlib · plotly · ggplot2Forecast fan chartHistory as a line, the forecast continuing from the last observation with nested 80% and 95% prediction intervals, fitted values optional; one panel per series.matplotlib · plotly · ggplot2Backtest errors by horizonError against steps ahead for every rolling-origin backtest window (thin) with the mean across origins (thick); one panel per metric.matplotlib · plotly · ggplot2ACF / PACF (precomputed)Autocorrelation and partial autocorrelation bars by lag with the ±1.96/√n band, side by side; lags outside the band highlighted.matplotlib · plotly · ggplot2k-distance curveEvery row's distance to its k-th nearest neighbour, sorted; the knee (ringed) is where distances start to climb — the usual eps for DBSCAN and the cut for OPTICS.matplotlib · plotly · ggplot2Reachability plot (OPTICS)Rows in OPTICS order with their reachability distance: each valley is a cluster, deeper valleys are denser, and a horizontal cut gives the DBSCAN clustering at that radius.matplotlib · plotly · ggplot2Consensus matrixShare of bootstrap resamples in which each pair of rows clusters together, rows grouped by cluster: solid blocks = crisp, stable clusters; speckle = ambiguous assignments.matplotlib · plotly · ggplot2VAT image (cluster tendency)The distance matrix reordered by VAT (Prim's minimum spanning order): dark blocks along the diagonal are candidate clusters; a uniform image means no structure.matplotlib · plotly · ggplot2Journey flowThe first steps of every journey as columns of events with ribbons for the moves between them; ribbon width = journeys, grey ribbons = journeys that ended.matplotlib · plotly · ggplot2Shepard diagramMap distance against original dissimilarity for pairs of rows, with the monotone (isotonic) fit non-metric MDS works to; tight scatter around the step line = low stress.matplotlib · plotly · ggplot2Topics over timeEach topic's share (or count) of documents per period as stacked bands: a widening band is a rising topic.matplotlib · plotly · ggplot2Latent means against the priorEach row's posterior mean in two latent dimensions, with the prior's 1σ and 2σ rings and the share of rows inside each.matplotlib · plotly · ggplot2

KPI & dashboard widgets

Headline numbers with change and targets: KPI tiles, sparklines, bullet charts, gauges, progress and variance to target.

8

Causal inference

Balance and overlap, event studies, regression discontinuity, synthetic control gaps, uplift (Qini) curves and bias contours — the Causal studio's charts.

9
Covariate balance (love plot)Standardized mean differences per covariate before and after adjustment, sorted by the initial imbalance, with the balance threshold.matplotlib · plotly · ggplot2Event studyLeads and lags of a difference-in-differences event study with confidence intervals, the omitted reference period and the pre-period shaded.matplotlib · plotly · ggplot2Regression discontinuityBinned means of the outcome on each side of the cutoff with the local polynomial fits and their confidence bands; the jump is the estimated effect.matplotlib · plotly · ggplot2Synthetic control gapsGap between each unit and its synthetic control over time — the treated unit in colour, in-space placebos in grey — with the RMSPE-ratio permutation p-value.matplotlib · plotly · ggplot2Propensity score overlapMirrored histograms of the propensity score by group on shared bins, the common-support region, and the weighted distributions when weights are given.matplotlib · plotly · ggplot2Qini curveCumulative incremental gain against the share targeted for one or more uplift models, the random-targeting line and the optimal curve; the Qini coefficient is the area between model and random.matplotlib · plotly · ggplot2Contour gridFilled contours of a value computed on a grid (sensemakr bias contours, response surfaces), with labelled points such as benchmarks or a stationary point.matplotlib · plotly · ggplot2Within and between unitsEvery observation with each unit's mean, and three slopes through the grand mean: within units (fixed effects), between units and pooled.matplotlib · plotly · ggplot2Unit effectsEach unit's fixed effect with its interval, sorted, against the mean effect.matplotlib · plotly · ggplot2

Experiments

A/B tests: sequential boundaries with the observed path, posterior densities and cumulative lift over time.

5

DoE & process control

Control charts with rules, capability against specification limits, effect screening (half-normal, Pareto), main effects and gauge R&R.

12
Control chartProcess statistic in time order with its centre line and control limits (stepped for varying subgroup sizes), rule violations marked, optional ±1σ/±2σ zones, and paired charts (X̄ over R) as stacked panels.matplotlib · plotly · ggplot2Process capabilityHistogram of the measurements with a fitted distribution, the lower/upper specification limits and target, and overall Pp/Ppk with the share outside.matplotlib · plotly · ggplot2Half-normal plot of effectsAbsolute effects against half-normal quantiles: inactive effects fall on a line through the origin; active ones break away to the right and are labelled.matplotlib · plotly · ggplot2Pareto chart of effectsAbsolute effects (or |t|) sorted from largest to smallest with Lenth's margin of error (ME) and simultaneous margin (SME).matplotlib · plotly · ggplot2Main effectsOne panel per factor with the mean response at each level on a shared axis and the grand mean dashed; steeper lines mean larger main effects. Several responses become rows.matplotlib · plotly · ggplot2Gauge R&R componentsPercent contribution, percent study variation and percent tolerance for gauge R&R, repeatability, reproducibility and part-to-part, against the 10% and 30% guidelines.matplotlib · plotly · ggplot2Probability plotFailures at median-rank plotting positions on Weibull, log-normal, exponential, log-logistic or normal paper. A straight line means the family fits; the slope on Weibull paper is the shape.matplotlib · plotly · ggplot2Distribution ID plotThe same failures on four kinds of probability paper. The family whose points lie straightest, with the highest plot correlation, is the candidate; compare with the AIC table.matplotlib · plotly · ggplot2Total-time-on-test plotScaled total time on test against the share failed. On the diagonal the hazard is constant; bowed above it rises with age, bowed below it falls; an S shape means a bathtub.matplotlib · plotly · ggplot2Reliability curveFitted reliability curves against the Kaplan–Meier estimate, with an optional mission time and B-life.matplotlib · plotly · ggplot2Hazard curveEach fitted family's hazard h(t) = f(t)/R(t). A rising curve means wear-out, a falling one early failures, a flat one random failures.matplotlib · plotly · ggplot2Lorenz curve and GiniThe share of total lifetime held by the shortest-lived units. Exponential lifetimes have Gini one half; below it the lifetimes are more even (wear-out), above it more uneven (early failures).matplotlib · plotly · ggplot2

Simulation, optimization & decisions

Tornado and spider sensitivity, Monte Carlo distributions, efficient frontiers, bandit regret and arm shares, and fairness metrics by group.

7

Advanced models

Specification curves, random effects (caterpillar), recurrent events, item response curves, parallel analysis, decision curves, prediction intervals and drift.

12
Specification curveEstimates with intervals across all specifications ranked by size (significant ones coloured), with a dot matrix below showing which analytic choices each specification used.matplotlib · plotly · ggplot2Caterpillar plotPredicted random effects (BLUPs) with intervals sorted by size, one panel per term (intercept, slope); intervals excluding zero are coloured.matplotlib · plotly · ggplot2Mean cumulative functionNelson–Aalen-type mean cumulative function as a step curve with its confidence band, one curve per group.matplotlib · plotly · ggplot2Item characteristic curvesItem response curves over ability θ — one curve per item (Rasch / 2PL), or per response category in one panel per item (graded response) — or item information curves.matplotlib · plotly · ggplot2Test informationTest information over ability θ with the standard error of measurement (1/√information) on a second axis.matplotlib · plotly · ggplot2Parallel analysisObserved eigenvalues against eigenvalues from random data of the same size (Horn's parallel analysis); factors above the simulated line are retained.matplotlib · plotly · ggplot2Decision curveNet benefit against threshold probability for one or more models and the treat-all / treat-none strategies; the model helps where its curve is highest.matplotlib · plotly · ggplot2Interval coverageEmpirical against nominal coverage of prediction intervals (conformal, quantile, Bayesian) with the diagonal of perfect calibration; mean widths label the points.matplotlib · plotly · ggplot2Prediction intervalsEach observation's prediction interval (bars, or a band for many points) with the prediction and the actual value; actuals outside their interval are red.matplotlib · plotly · ggplot2Drift over timeA drift statistic (PSI, Wasserstein, JS …) per feature over scoring runs; the most drifted features keep their colour, values above the alert threshold are marked.matplotlib · plotly · ggplot2Change-points on a timelineOne metric across monitor runs with a dashed line wherever a change-point detector (Page–Hinkley, CUSUM, ADWIN, Pettitt) signalled.matplotlib · plotly · ggplot2Non-inferiority to the championPaired bootstrap interval of candidate minus champion per metric, with the margin as a dashed line: passing means the whole interval stays right of it.matplotlib · plotly · ggplot2

Text & synthetic data

Top terms and n-grams, and how synthetic data compares with real data: densities, category shares and distances to the closest record.

10
Top termsThe most frequent terms or n-grams (or highest TF-IDF) as sorted bars, one panel per group.matplotlib · plotly · ggplot2Real vs synthetic distributionDensity of a column in the real data (filled) against the synthetic data (line), evaluated on a shared grid.matplotlib · plotly · ggplot2Real vs synthetic category sharesShare of each category in the real and synthetic data side by side, levels sorted by their real share, with the total variation distance.matplotlib · plotly · ggplot2Distance to closest recordDistribution of distances from synthetic rows to their nearest training row against the same for held-out real rows; synthetic distances well below the holdout's suggest memorization.matplotlib · plotly · ggplot2Diffusion loss by stepThe trained model's loss on held-fixed training rows noised to each of about 20 steps, one line per part (Gaussian for numbers, multinomial for categories).matplotlib · plotly · ggplot2Topic sizesDocuments per topic as horizontal bars, largest first, each labelled with its distinctive words; documents that fit no topic (outliers) are a grey bar at the end.matplotlib · plotly · ggplot2Image brightness and sharpnessOne dot per image: mean brightness against sharpness (variance of the Laplacian, log scale), coloured by the method's flag, with the dark, bright and blur thresholds as dashed lines.matplotlib · plotly · ggplot2Image pixel sizesWidth against height on matching log axes, with dashed rays for common aspect ratios (1:1, 4:3, 3:2, 16:9 and their portrait forms); colour shows the format or folder.matplotlib · plotly · ggplot2Generated-text scores per rowEach row's BLEU, chrF and ROUGE score as a jittered dot, with a box for the median and quartiles; several systems sit side by side within each metric.matplotlib · plotly · ggplot2Corpus scores with intervalsCorpus BLEU, chrF and ROUGE as dots with paired-bootstrap percentile intervals; systems are dodged within each metric so overlapping intervals are easy to see.matplotlib · plotly · ggplot2

Evidence synthesis

Meta-analysis and combined evidence: forest and funnel plots, heterogeneity, influence and p-value distributions.

15
Meta-analysis forest plotEach study's estimate and CI (marker area ∝ weight), the pooled estimate as a diamond, and the prediction interval for a new study's true effect.matplotlib · plotly · ggplot2Funnel plot (contour-enhanced)Effect against standard error (precise studies at the top), the pseudo-95% triangle, significance contours around zero, trim-and-fill studies and Egger's line.matplotlib · plotly · ggplot2Galbraith (radial) plotStandardized estimate (y/SE) against precision (1/SE): under a common effect points scatter ±2 around a line through the origin whose slope is the pooled effect.matplotlib · plotly · ggplot2L'Abbé plotEvent risk in the treatment arm against the control arm for each two-arm study; points below the diagonal favour treatment when events are harmful.matplotlib · plotly · ggplot2Baujat plotEach study's contribution to Cochran's Q against its influence on the pooled estimate; studies in the top-right corner deserve a closer look.matplotlib · plotly · ggplot2Cumulative meta-analysisThe pooled estimate and CI recomputed as each study is added in order (usually by year); the last row is the full analysis.matplotlib · plotly · ggplot2Influence panel (leave one out)Per study: studentized deleted residual (±1.96 lines), Cook's distance, and the pooled estimate with that study left out against the full estimate.matplotlib · plotly · ggplot2Meta-regression bubble plotStudy effects against one moderator with marker area ∝ weight, the fitted meta-regression line and its confidence band.matplotlib · plotly · ggplot2p-value Q–Q plotSorted p-values against their expectation under the global null on a −log₁₀ scale, with a pointwise 95% band from the uniform order statistics.matplotlib · plotly · ggplot2p-value histogramCounts of p-values in equal bins over [0, 1] with the flat expectation under the global null; a spike in the first bin signals real effects (or p-hacking).matplotlib · plotly · ggplot2Combination methods comparedEach method's combined p on a −log10 scale, with the method fixed in advance highlighted. A sensitivity check, not a menu to pick from.matplotlib · plotly · ggplot2GOSH plot (all study subsets)Each point is one subset of studies: its pooled estimate against its I², with marginal histograms; subsets with the most influential study in another colour.matplotlib · plotly · ggplot2Drapery plot (p-value functions)The p-value function of every study (thin), the pooled estimate (bold) and the prediction distribution (shaded); each crosses p = α at that level's interval.matplotlib · plotly · ggplot2p-curveShare of the significant p-values in each .01-wide bin, against the flat line expected with no effect and the curve expected at 33% power.matplotlib · plotly · ggplot2Selection-model weight functionEstimated selection weight in each p-value interval (the first fixed at 1) with its CI and study count; a flat line at 1 means no selection.matplotlib · plotly · ggplot2

Multivariate tests

Many outcomes at once: confidence ellipses, canonical plots, Mahalanobis Q–Q, ordinations with group centroids and distance diagnostics.

7
Confidence and data ellipsesScatter of two variables by group with each group's mean and either its confidence ellipse (Hotelling's region for the mean) or its data ellipse (covariance shape).matplotlib · plotly · ggplot2Canonical discriminant plotRows on the first two canonical dimensions of a MANOVA effect with each group's mean and confidence circle, and the outcomes' structure coefficients as arrows.matplotlib · plotly · ggplot2χ² Q–Q plot of Mahalanobis distancesOrdered squared Mahalanobis distances against χ² quantiles with a pointwise envelope; points above the χ² 97.5% line are possible multivariate outliers.matplotlib · plotly · ggplot2Profile plotEach group's means across ordered, commensurate measures connected as a profile, with intervals; non-parallel lines are the group × measure interaction.matplotlib · plotly · ggplot2Principal coordinates by groupThe first two principal coordinates of a dissimilarity matrix by group, with each group's centroid or spatial median, optional spokes (PERMDISP's distances) and convex hulls.matplotlib · plotly · ggplot2Dissimilarity–dissimilarity plotEvery pair of rows as a point: its dissimilarity in one matrix against its dissimilarity in another, with the least-squares line and Pearson r — the Mantel statistic.matplotlib · plotly · ggplot2Mantel correlogramMantel r between one dissimilarity matrix and membership of each distance class of another (e.g. geographic distance), with progressively corrected significance.matplotlib · plotly · ggplot2

Directions & cycles

Angles, hours and seasons on the circle: rose diagrams, circular dot plots, densities and wind roses.

6

Maps & spatial

Points, regions and spatial patterns: choropleths, hot spots, Moran scatterplots, Ripley envelopes and variograms.

11
Choropleth mapRegions coloured by a value in classes (quantiles or equal steps) or a continuous ramp; regions without data stay grey.matplotlib · plotly · ggplot2Point mapOne dot per row at its longitude and latitude, optionally coloured by a category, over country or state outlines.matplotlib · plotly · ggplot2Bubble mapCircles at each location with area proportional to a value (largest drawn underneath), optionally coloured by a category.matplotlib · plotly · ggplot2Hex-bin mapPoints counted (or a value summed) in equal hexagons on the projected map; colour by count on a square-root scale.matplotlib · plotly · ggplot2Neighbour graphLinks between the centres of neighbouring regions over their outlines — check spatial weights before testing autocorrelation.matplotlib · plotly · ggplot2Local Moran cluster map (LISA)Regions coloured by their local Moran pattern after the multiple-testing correction: High-High and Low-Low clusters, High-Low and Low-High outliers.matplotlib · plotly · ggplot2Hot-spot mapRegions coloured as hot spots, cold spots (Getis–Ord Gi, Gi*) or high local variability (LOSH) after the multiple-testing correction.matplotlib · plotly · ggplot2Moran scatterplotEach site's standardized value against the average of its neighbours. The slope is Moran's I; the four quadrants are clusters and spatial outliers.matplotlib · plotly · ggplot2Ripley's L with envelopesL(r) − r against distance with pointwise and global envelopes from simulated random patterns. Above the envelope is clustered; below it is regular.matplotlib · plotly · ggplot2SemivariogramHalf the average squared difference between sites by distance, with point area for the pairs in each class, a band from shuffled values and an optional fitted model.matplotlib · plotly · ggplot2Kernel density mapA Gaussian kernel density of the points on the projected map, drawn as filled contours from low to high density.matplotlib · plotly · ggplot2

Genetics

Genotype data: de Finetti diagrams, linkage disequilibrium, Manhattan plots and site frequency spectra.

5