Public
Edited
Nov 9, 2024
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function stringToPOJO(str) {
try {
return (new Function(`return ${str};`))();
} catch (e) {
try {
return JSON.parse(str);
}
catch (_e) {
return {error: _e.message};
}
}
}
Insert cell
import {initBoxFont, boxFonts, box} from "@jobleonard/unicode-box-drawing-formatter"
Insert cell
boxFonts
Insert cell
initBoxFont()
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