Example

Data apps / Generated Why explanations

Data apps with Why buttons

You write the formulas, controls and labels in Bosatsu; the page and its Why view are generated from that program, so the explanations never drift from the formulas.

Code & run Read and edit the model and graph configuration

Data apps you can adapt

Event budget ↗

Ticket income, event costs, and the amount left over. Change attendance or adapt the cost rules.

Try it: Add a booking fee or change the cost per guest.

Code & run Read, edit, and compile this data app

Rainwater tank ↗

How much water does one rainfall event collect, and how much overflows the tank?

Try it: Change the roof size or tank capacity.

Code & run Read, edit, and compile this data app

Battery runtime ↗

Estimate runtime from a battery energy budget, a constant load, and a usable-capacity assumption.

Try it: Compare the same battery powering different devices.

Code & run Read, edit, and compile this data app

Scale a recipe ↗

Scale ingredient weights to a different number of servings. Replace the ingredients with your own.

Try it: Replace these ingredient weights with your recipe.

Code & run Read, edit, and compile this data app

Download time ↗

Convert file size and connection speed into transfer time, allowing for a chosen efficiency.

Try it: Compare a faster connection with a smaller file.

Code & run Read, edit, and compile this data app

A small business forecast ↗

A subscription business month by month, laid out as a spreadsheet: customers, revenue, costs, hiring and the cash left in the bank. Every number in the table has its own Why.

Try it: Hire faster, then click the month the cash runs lowest.

Code & run Read, edit, and compile this data app

Make a data app: change the event budget, step by step →

Supply, demand, and a per-unit taxThe market model’s rendered curves, intersections, and shaded areas.Deadweight loss Why?

Start with the market data app

It models demand, supply, and a per-unit tax using three straight lines.

  1. Move the Per-unit tax slider.
  2. Select Deadweight loss Why? above the graph.
  3. Follow a dependency to see how the area was calculated.

Available models

These are illustrative Bosatsu models, not forecasts or policy recommendations.

Data apps with numeric results

The archive lists earlier UI runtime fixtures.

Ask your agent about anything here; it has the detail.

Where this fits

What this is about: Data apps with Why