Published
Edited
Mar 15, 2021
Importers
Insert cell
Insert cell
ky = (await import("https://unpkg.com/ky@0.26.0/index.js")).default
Insert cell
cx = ky.create({
prefixUrl: `https://cell.x-pl.art/`
})
Insert cell
async function postComment(code, comment) {
return await cx.post(`automata/${code}/comments/`, {
body: comment
});
}
Insert cell
async function listComments(code) {
return await cx.get(`automata/${code}/comments/`).json();
}
Insert cell
async function like(code) {
return await postComment(code, "#like");
}
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