Public
Edited
Jun 5, 2023
Importers
Insert cell
Insert cell
Insert cell
cljs = function(...args) {
// Depending on the usage `` or () args is an array of arrays or a an array of strings
var code, context, s = args[0];
if (s && typeof s.valueOf() === "string") {
code = args[0], context = args[1];
} else {
code = args[0][0];
}

return sci.toJS(sci.evalString(code, {bindings: context}));
}
Insert cell
sci = require("@borkdude/sci")
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