sparkrust What-if analysis · Spark SQL in WebAssembly loading engine…
Demos

Drag the business levers on the left. Every KPI, chart, and delta below is a live Spark SQL query re-run against the in-browser TPC-H dataset — the numbers move as you drag. Nothing is precomputed; nothing leaves your tab.

Scenario revenue
Orders retained
Avg realized discount
Revenue / order

Baseline → scenario impact

Total revenue at neutral settings vs your scenario.
computing…

Revenue by region

Ghost = baseline · solid = scenario
baselinescenario

Revenue by ship mode

Watch AIR shift when you add a freight surcharge
baselinescenario

Monthly revenue trend

Baseline line vs scenario area — the whole series re-queries on every drag

🔍 The scenario query (live)

This exact Spark SQL — with your lever values folded in — is what just ran for the revenue KPI.