Public
Edited
Sep 1, 2023
Insert cell
Insert cell
viewof file = html`<input type=file >`
Insert cell
file
Insert cell
Insert cell
Insert cell
html`<img src="${URL.createObjectURL(file)}">`
Insert cell
Select a data source…
Type Table, then Shift-Enter. Ctrl-space for more options.

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
Select a data source…
Type Table, then Shift-Enter. Ctrl-space for more options.

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