Idea
How the data app’s Why view is generated
A data app shows a number you did not expect. Is the formula wrong, or did an input you forgot about feed into it?
The Why button answers that. It traces each result back to the expressions, inputs and source that produced it, with the values from this run. Nobody writes the explanation: it comes from the program itself.
Code & run Read and edit both source files
Try it on the market model
Open the market data app, change Per-unit tax, and select Deadweight loss Why?. The loan calculator is another.
Why shows how a model computed its result; it does not establish that the model’s assumptions are correct. Data app compilation pipeline
Earlier UI demo: manually written value trails
This widget predates the automatic explanations: its handler writes its own trail text.
Code & run Read the older widget’s source
Manually written trail demo
Ask your agent about anything here; it has the detail.