A simulated online retailer analyzed end-to-end in PostgreSQL. The charts below are real outputs from 10 analytical SQL queries — revenue trends, RFM segmentation, cohort retention, churn, and lifetime value. Scroll down to run the queries yourself against a full Postgres database running entirely in your browser (no server).
This loads a real PostgreSQL 16 engine (compiled to WebAssembly) directly in your browser, builds the schema, and generates ~57,000 rows of data — then you can query it. Nothing is sent to a server.
Tip: tables live in the shop schema (search_path is set for you). Try SELECT * FROM products LIMIT 20;