Files
paperspec/spec/17-views.md
T
alexm 62f54ed869
check / check (macos-latest) (push) Canceled after 0s
check / check (ubuntu-latest) (push) Canceled after 0s
Initial commit
2026-10-11 23:45:29 -04:00

717 B

17. Views

A view, scienting-view/1, is a Vega-Lite specification whose usermeta.scienting pins its data: {format, id, data, computation?}. Each entry of data names a Vega-Lite data source, the dataset it is, the dataset's content hash and a resource, and the specification refers to it as {"data": {"name": …}}. A view is declarative JSON, so it is diffable, renders without studio code, and is easy for a model to write.

A view can also hold a computation: a Lode claim's implementation, by claim and pin, run in the browser by Pyodide, with Vega-Lite parameters bound to its inputs. That is how a reader drags a bond constant and watches the energy curve change beside the equation that defines it.