Platform
Resources
Pricing
Sign in
Contact us
Fabian Iwand
Web developer and autodidact with an interest in creative coding.
Workspace
Fork
Published
Graveyard
By
Fabian Iwand
Edited
Feb 24, 2020
Importers
7 stars
Graveyard
Observable Editor Events
Inputs feature request: Proxy values
Tracking and Displaying Errors
Side-By-Side Editor And Tabs for Observable
First!
SQL 3d engine (interactive preview)
Shrinking A Convex Hull
Custom Notebook Thumbnail
npm Dependents Browser
Transforming input values on the fly
Cabbibo In A Bottle
Insert cell
Insert cell
viewof
letters
=
transformValue
(
slider
(
{
title
:
'Number of letters'
,
value
:
5
,
step
:
1
,
min
:
1
,
max
:
26
}
)
,
value
=>
Array
.
from
(
{
length
:
value
}
,
(
v
,
i
)
=>
String
.
fromCharCode
(
i
+
65
)
)
)
Insert cell
letters
Insert cell
Insert cell
viewof
spacedOut
=
transformValue
(
html
`<input type="text" value="Hello! What's going on?">`
,
value
=>
value
.
toUpperCase
(
)
.
replace
(
/[AEIOU!?]/g
,
c
=>
c
.
repeat
(
3
)
)
)
Insert cell
spacedOut
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
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
letters
Add comment
Copy import
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
spacedOut
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
transformValue
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML