Skip to content
Demo library

Price Slider: Hartwell Home & Garden

Drag one price and watch units, revenue, profit and the stock-out day move on a demand curve learned from a year of sales, then send the change for approval.

An example on sample data, not a Data App to install. To get one like it on your own data, give the build prompt to your AI agent.

About this Data App

A pricing analyst at Hartwell Home & Garden, a made-up DIY and garden retailer, picks a product from a rail sorted by profit upside and drags a single slider. Today’s price, the new price and the profit-maximising price are marked; the 8-week profit change, units, revenue, profit and stock-out day update as it moves, and the demand and profit curves colour the chosen point. Guardrails for minimum margin and largest move are checked live, and breaking one turns the change into an exception.

Every number comes from the semantic layer: it holds a 41-point price grid per product, fitted on 52 weeks of sales with promotions and seasonality, so the slider only picks a row of governed figures. Range shows the biggest pricing prizes and every product with sales and profit trend columns. Send for approval runs a mocked propose, approve, go live and undo trail, with an Analyst and Approver switch, and Where numbers come from lists the measure behind each part of the screen.

All products, prices and sales are invented. The approval workflow and the write-back to the pricing system are mocked and stay in the browser.

Build one like it on your data

Give this to your AI agent with Astrato connected. It asks which of your semantic layers to build on first, and links to the source code of this demo.

Build me an Astrato Data App that lets a pricing analyst test a price change, like the Price Slider demo.

Before you start, ask me which semantic layer to use and list the ones I can see. Read that layer and tell me whether it already holds outcomes per candidate price (units, revenue, profit, margin and stock-out at each price point) or only sales history. If it only has history, propose the price-grid table and measures it would need, and wait for me to confirm before building anything.

The pricing board: a product list sorted by profit upside; one price slider over the candidate prices with today and the profit-maximising price marked; the 8-week profit change; units, revenue, profit and stock-out day at the new price; demand and profit curves with the chosen point coloured; an 8-week forecast at today’s price against the new one; guardrails for minimum margin and largest move, checked as the slider moves.

A Range page with the biggest pricing prizes and every product with trend columns, and an Approvals page: propose, approve or decline, go live, undo, with an Analyst and Approver switch and a trail per change, kept in the browser and labelled as mocked. Add Excel export and a “Where numbers come from” panel. Use only the layer’s governed measures, and follow the Build a Data App guide.

Build on my data and my semantic layer. For how the original was built, read its source code: https://github.com/astrato-io/astrato-data-app-playbook/tree/main/examples/price-slider

What it shows Astrato can do

The data in this demo is made up for it. Connect your own semantic layer to run the same Data App on real figures.