Platform
Resources
Pricing
Sign in
Get started
Declan Naughton
👨💻 Modelling consultant 🧮 numbers 📊 actuarial 📈 viz, interactivity, transparency
Workspace
Fork
Public
By
Declan Naughton
Edited
Jul 31, 2024
Fork of
embedded huey and data load challenge
Insert cell
Insert cell
viewof
requestId
=
Inputs
.
select
(
[
"hello hello hello"
,
"world"
,
"foobar foobar foobar foobar foobar"
]
,
{
label
:
"trigger a thing to happen:"
}
)
Insert cell
{
const
frame
=
document
.
getElementById
(
"f1"
)
;
frame
.
contentWindow
.
postMessage
(
{
requestId
}
,
"*"
)
;
}
Insert cell
html
`<iframe id="f1" width=${
width
} height="300px" src="https://declann.github.io/huey/index.html" />`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data
=
helpers
.
calcudata
(
{
models
:
[
model
.
js
]
,
input_cursors
:
[
cursor
]
,
input_domains
:
{
month_in
:
_
.
range
(
-
1
,
cursor
.
last_month_in
+
1
)
}
,
outputs
:
[
"mrr_cf"
,
"payroll_cf"
,
"rent_cf"
,
"vc_cf"
]
}
)
Insert cell
Insert cell
Insert cell
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
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
requestId
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
helpers
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
calculangApi
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
model
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
cursor
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
data
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