Unlisted
Edited
Apr 29, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof s = Inputs.select(["S1", "S2", "S3", "S4", "custom"], {
label: "Set"
})
Insert cell
Insert cell
viewof a = Inputs.select(["A1", "A2", "A3"], { label: "A" })
Insert cell
viewof b = Inputs.select(["B1", "B2", "B3"], { label: "B" })
Insert cell
viewof c = Inputs.select(["C1", "C2", "C3"], { label: "C" })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof noraDilution = Inputs.select(
new Map([
["64 µg/mL", 64],
["80 µg/mL", 80],
["128 µg/mL", 128],
["160 µg/mL", 160]
]),
{ label: html`<div style="text-align:right">Noradrenalina</div>`, width: 200 }
)
Insert cell
viewof nora = Inputs.range([0, (120 * weight) / noraDilution], {
label: html`<div style="text-align:right">mL/h</div>`,
step: 0.1,
value: 0,
width: 200,
transform: Math.sqrt
})
Insert cell
viewof vasoDilution = Inputs.select(
new Map([
["0.2 U/mL", 0.2],
["0.4 U/mL", 0.4]
]),
{ label: html`<div style="text-align:right">Vasopressina</div>`, width: 200 }
)
Insert cell
viewof vaso = Inputs.range([0, 2.41 / vasoDilution], {
label: html`<div style="text-align:right">mL/h</div>`,
step: 0.5,
value: 0,
width: 200
})
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