data
Data
A dashboard is a folder, <root>, and a page that works itself out again each time someone opens it. Its content
is the documents under <root>/db/. Datasets say where its numbers come from, and the page is HTML whose
scripts draw them. Nothing is published as a page file: the page is the document files/index.html. A local page
(started by open-artifact open) runs the queries, draws the page, saves what people change back into the same
documents, and shows what you write as soon as you write it.
What the person asks for wins. Everything here about looks is a default. The page can draw or do anything its code
can, except what this guide rules out. A chart they named is drawn even where d3 has no helper for it. If you still
draw another, say which and why.
open-artifact below stands for node <this skill's folder>/scripts/cli.mjs (Node 22 or later).