Public
Edited
Apr 25
Importers
Insert cell
Insert cell
Runtime = observable.Runtime
Insert cell
Inspector = observable.Inspector
Insert cell
Library = observable.Library
Insert cell
RuntimeError = observable.RuntimeError
Insert cell
observable = {
const blob = await unzip(FileAttachment("runtime.js.gz"));

const objectURL = URL.createObjectURL(
new Blob([blob], { type: "application/javascript" })
);
try {
return await import(objectURL);
} finally {
URL.revokeObjectURL(objectURL);
}
}
Insert cell
unzip = async (attachment) =>
await new Response(
(await attachment.stream()).pipeThrough(new DecompressionStream("gzip"))
).blob()
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