Platform
Resources
Pricing
Sign in
Get started
Erik Neves
Workspace
Fork
Unlisted
By
Erik Neves
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
s
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
a
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
b
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
c
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
hosp
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
weight
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
noraDilution
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
nora
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vasoDilution
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vaso
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML