Published
Edited
May 30, 2021
Importers
Insert cell
md`# Testing Export of a Composite View

First of a pair of notebooks for testing how to share a set of a parameters and its controls. The parameters and controller exported here are used in: https://observablehq.com/@tonyhschu/testing-import-of-a-composite-view
`
Insert cell
viewof parameters = {
const controller = view`<table>
<tr><td>a: ${["a", Inputs.range([0, 100])]}</td></tr>
<tr><td>b: ${["b", Inputs.range([0, 100])]}</td></tr>
<tr><td>b: ${["c", Inputs.range([0, 100])]}</td></tr>
</table>`
return controller
}
Insert cell
controller = html`${viewof parameters}`
Insert cell
import {view} from '@tomlarkworthy/view'
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more