Simulation Observatory

A responsive reference composition combining six small-multiple trend cards, observed/projected output, a target, exact observations, a resource ledger and an explicit decision review. All observations and budgets are synthetic.

Open the Observatory · Storybook arguments

Rendering and ownership

renderObservatory(options) produces semantic HTML, exact tables and chart hosts. bindObservatory(root, data) mounts TanStack charts, binds the native review/inspection controls and returns destroy(). Always destroy before removing the composition: this unmounts every chart root and clears listeners. Applications keep their own data, persistence and simulation rules.

The same shared example renderer powers the chart lab, Colony history and landing-page plot. React/TanStack are bundled locally for native-module pages. Styles arrange the workspace; TanStack alone draws quantitative geometry.

Data contracts

Responsive and accessibility boundaries

Charts fit their containers and have accessible names with measurement units. Use keyboard chart navigation or the exact table. Resource rows become labelled cards on phones; long ledgers keep named keyboard scroll regions. Native dialog focus, cancellation and popover behavior remain browser-owned. Missing popover support does not hide the duplicate event note in the exact-data disclosure.