Statistics & Visualisation

Descriptive statistics, hypothesis testing, and interactive charts — DuckDB-native computation with automatic fallback

DuckDB-Native Statistics

The statistics engine prefers DuckDB-native computation for speed. When the input dataset is in DuckDB, statistical functions run directly as DuckDB aggregate queries. For non-DuckDB backends, the engine falls back to scipy. 135 tests validate accuracy across both paths.

Statistical Functions

MethodDescriptionBackend Support
Descriptive StatisticsMean, median, mode, std dev, variance, min/max, quartiles, skewness, kurtosisAll backends
CorrelationPearson, Spearman correlation coefficients with p-valuesAll backends
T-testsOne-sample, independent (equal/unequal variance), pairedAll backends
ANOVAOne-way analysis of variance with F-statistic and effect sizeAll backends
Chi-squareGoodness of fit and test of independence with Cramér's VAll backends
Linear RegressionSimple and multiple regression with coefficients, R², p-values, residualsAll backends

Chart Types

All charts are interactive Plotly visualisations. New chart types added in 0.12.0: scatter, area, horizontal bar, donut, histogram, and distribution.

ChartBest For
Bar ChartComparing categories
Line ChartTrends over time or sequence
Scatter PlotRelationship between two numeric variables
Area ChartMagnitude over time with filled area
Horizontal BarLong category labels
Donut ChartPart-to-whole with centre annotation
HistogramDistribution of a single numeric variable
DistributionDensity plot with KDE curve
Pie ChartSimple part-to-whole

Sandbox Mode

The Tools → Visualisation sandbox lets you experiment with chart types and configuration before adding them to a recipe. Choose a dataset, select a chart type, configure options, and see a live preview. When you're satisfied, save the configuration to use in a recipe.

Export visualisations as PNG, SVG, or PDF is planned for a future release. Currently, charts can be screenshotted or the underlying data exported as CSV/Excel.
← Datasets 📋 Contents Chart Types →