Series & shared fields
The shape of a chart's series list, the fields every series accepts, and the value types shared across chart types â points, error bars, bands, trend lines and grouped values.
Canvas, title & axes
The canvas size, the title block, the font sizes, and every option on the x and y axes.
Grid, ticks & canvas switches
Grid lines, axis lines, tick placement and size, plus the whole-canvas switches â clamp, equal aspect, scale, black-and-white mode and interactivity.
Legends
Showing, positioning and laying out the legend.
Themes
The four named themes and the per-colour overrides for a custom theme.
Colour palettes
The named palettes and how to pass your own list of colours.
Colormaps
The continuous colour scales used by value-encoded charts, and the full list of names.
Reference & annotations
Reference lines, shaded regions and text callouts drawn on top of a chart.
Date & time axes
Turning a numeric axis into a date axis, with the unit, step and format of its ticks.
Secondary axes (twin-Y)
Drawing a second set of series against a second x or y axis on the same canvas.
Stats box
A small bordered inset in a corner of a plot, for sample sizes, fit statistics or a model name.
Figure (multi-panel)
Laying several panels out in a grid â merged cells, shared axes, one legend, per-panel sizing.
Math in labels
LaTeX-ish math inside $...$, lowered to inline Unicode text.
Black & white / accessibility mode
Grey shades, hatch patterns, dash styles and marker shapes instead of colour.
SVG interactivity
Hover tooltips, click-to-pin, search and legend toggles, embedded straight into the SVG.
Terminal output
Rendering a chart as terminal text â braille dots, block fills and ANSI colour â straight from SQL.
File output
Writing a rendered chart to an SVG file straight from SQL, with an optional open in the browser.
Typst output
Rendering a chart as Typst source â a CETZ vector drawing you compile with the Typst toolchain.
Datasets (config and data apart)
The optional second argument of the render functions â a JSON registry of named datasets â and the `dataset` / `encode` fields a series uses to map its columns onto the chart.
Composites (coverage & brick-pop)
The two charts that are not series â a genome-browser coverage figure and a population allele-frequency figure, both driven by a top-level composite object.