Published
Edited
Nov 19, 2019
1 star
Insert cell
Insert cell
Insert cell
mutable image = FileAttachment("roots-eq-sizescale.png").image()
Insert cell
Insert cell
Insert cell
image.src
Insert cell
Insert cell
Insert cell
Insert cell
myimage
Insert cell
Insert cell
newUrl = URL.createObjectURL(myimage)
Insert cell
Insert cell
setter = {
mutable image.src = newUrl;
mutable buffer = myimage.arrayBuffer();
}
Insert cell
Insert cell
mutable buffer = FileAttachment("roots-eq-sizescale.png").arrayBuffer()
Insert cell
buffer.byteLength
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