Platform
Resources
Pricing
Sign in
Get started
Mike Bostock
Visualization toolmaker. Founder @observablehq. Creator @d3. Former @nytgraphics. Pronounced BOSS-tock.
Workspace
Fork
Published
By
Mike Bostock
Edited
Sep 24, 2021
1 fork
Importers
42 stars
Insert cell
2
Insert cell
md
`This is a range input ${
Inputs
.
bind
(
html
`<input type=range style="width: 80px;">`
,
viewof
apples
)
}.
This is a number input ${
Inputs
.
bind
(
html
`<input type=number style="width: 80px;">`
,
viewof
apples
)
}.`
Insert cell
Insert cell
Inputs
.
bind
(
html
`<input type=range>`
,
viewof
apples
)
Insert cell
Insert cell
viewof
apples
=
new
Inputs
.
input
(
3
)
Insert cell
Insert cell
new
Array
(
apples
+
1
)
.
join
(
"🍎"
)
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
Show 2 comments
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
apples
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML