Published
Edited
Oct 15, 2021
4 forks
53 stars
Insert cell
Insert cell
viewof file = html`<input type=file accept="image/*">`
Insert cell
Insert cell
Insert cell
html`<img src="${URL.createObjectURL(file)}">`
Insert cell
Insert cell
viewof source = html`<input type=file accept=".js">`
Insert cell
module = require(URL.createObjectURL(source))
Insert cell
Insert cell
Files
Insert cell
Insert cell
viewof text = html`<input type=file accept="text/*">`
Insert cell
Files.text(text)
Insert cell
Insert cell
viewof binary = html`<input type=file>`
Insert cell
Files.buffer(binary)
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