Chart a series
chartTurn rows you already fetched into a Vega-Lite drawing your chat window can render.
★ IT DRAWS; IT DOES NOT FETCH. Hand it the output of `query_dataset` — this tool never touches
the database, so it cannot bypass the `as_of` filter those rows were selected under. A plotting
tool that fetched its own numbers would be a second data path, and a second path eventually
disagrees with the first about what was knowable when.
★ GAPS BREAK THE LINE INSTEAD OF BEING BRIDGED. A missing value is emitted as null, so the
rendered line stops rather than sloping smoothly across a period where nothing was published.
The absent positions are also listed in `data_gaps`, because a break is easy to misread as a
flat stretch. Zero is never substituted — zero draws a real low point for something that never
happened.
★ THE DRAWING POINTS BACK AT THE PROOF. `citation` and `inclusion_pointer` travel with the
spec, so a picture and the rows behind it name the same published checkpoint.
⚠️ Rendering, not analysis. A shape you notice in a picture is not a forecast.
Args: rows, x_field, y_field, optional title and mark (line/point/bar/area).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | No | line | |
| rows | Yes | ||
| title | No | ||
| x_field | Yes | ||
| y_field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||