Skip to content

xpd charts create

Create a new chart from a declared spec as a durable Duroxide run. You declare what the chart must say, the reader task, the data file, and the column roles. xpd routes the task to a form (bar, line, area, scatter, histogram, box, and heatmap), scaffolds the file in the Warm Editorial house style, renders and measures every revision, and closes the run only when each mechanical finding is gone or accepted and each scoped review question is answered against the measured revision.

Stage Command What xpd does
Forms xpd charts create forms Prints each form with its reader tasks and column roles
Start xpd charts create start <spec.json> Validates the spec, routes the task, scaffolds the file, renders and measures it
Route xpd charts create route <run> --form <form> Chooses the form when more than one fits the declared columns
Render xpd charts create render <run> Measures the edited file again and writes a new page and screenshot
Answer xpd charts create answer <run> <answers.json> Records answers that cite measured facts, and reasons for accepted findings
Finish xpd charts create finish <run> Closes the run when the file matches its last render and nothing is open
Status xpd charts create status <run> Prints the run, what is open, and the next command

The xpd charts guide shows a whole create run.

Terminal window
xpd charts create [OPTIONS] <COMMAND>

Pass one of the subcommands below.

Subcommand What it does
xpd charts create start Start a create run from a declared figure spec: validate it, route its reader task to a form, scaffold the figure file, then render and measure it
xpd charts create route Choose the form of a run whose reader task has more than one fitting form
xpd charts create render Render and measure the figure file again after editing it
xpd charts create answer Record answers to the scoped review questions and reasons for accepted findings
xpd charts create finish Close the run once the file matches its last render and nothing is open
xpd charts create status Print the run, what is open, and the command that comes next
xpd charts create forms Print the forms this workflow can scaffold, with their reader tasks and column roles
Option Default What it does
--format <FORMAT> Output format. Default: text on a terminal, json otherwise. Values: text, json.
Terminal window
$ xpd charts create --help
...