Public
Edited
Feb 13, 2024
Insert cell
Insert cell
buf = fflate.strToU8("Hello world! Hello world! Hello world! Hello world!")
Insert cell
compressed = fflate.compressSync(buf, { level: 6, mem: 8 })
Insert cell
decodedutf8str = new TextDecoder("utf8").decode(compressed)
Insert cell
binaryStr = unescape(encodeURIComponent(decodedutf8str))
Insert cell
btoa(binaryStr)
Insert cell
fflate = import("https://unpkg.com/fflate@0.8.2/esm/browser.js?module")
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