Visual

Dashboards

The 4 tools for dashboards. Before an agent first makes one, it reads guide topic dashboards.

create_dashboard

Make a dashboard or report in a space: tiles on a 12-column grid — headline numbers (with the change vs a period and a trend line), bar, line, area, pie, histogram, box plot, scatter, heatmap, treemap, sunburst and sankey charts, tables, and text in Markdown. You write no code: you fill the tiles, Artifacts draws them. Every number comes from a range in one of the space's spreadsheets and stays live: when the sheet changes, the dashboard shows it. The numbers go in a sheet first (create_sheet, or the space's sheet), laid out as the blocks the tiles read; then point each tile at its range. Tiles go in rows in the order given, each row filled to the 12 columns: headline numbers first, then charts, then tables. People drag and resize the tiles and comment on a tile. Read guide topic "dashboards" first; check it with render_dashboard.

Parameters

space_idstringrequired
titlestringrequired
subtitlestring
One line: what it covers and when it was last true — "Q4 2026 to date, from the Finance model".
lookobject
How it looks; people change the same in its Customize panel. Each part given replaces that part; "" sets it back to the default.
Show child attributes
palettestring
The color scheme of the series: artifacts (default), tableau10, category10, set2, okabe-ito (the most colorblind-safe). One of artifacts, tableau10, category10, set2, okabe-ito, ``.
scalestring
The sequential scale heatmaps use: scheme (default: the scheme's first color, light to dark), blues, greens, viridis, cividis. One of scheme, blues, greens, viridis, cividis, ``.
fontstring
A Google Fonts family for all its text ("IBM Plex Sans"); "" for the default (Inter).
trendsboolean
false hides the trend line on every headline number (those tiles shrink to fit); true shows them again.
searchboolean
true puts a search bar on every table tile.
tilesobject[]required
In reading order; tiles without x and y are placed left to right where they fit.
Show child attributes
kindstringrequired
Pick by the question (guide topic "dashboards", Chart Selection): number (one headline figure, a KPI); bar (how values compare); line (change over time); area (parts of a total over time, with stacked); pie (part of one whole, five parts or fewer); histogram or boxplot (the distribution: spread, outliers, shape); scatter (the relationship between two measures); heatmap (a value across two categories: day × hour, region × product); treemap or sunburst (hierarchy, part-to-whole by level); sankey (flows from stage to stage); table (exact values); text (a written report's words, beside or under the charts they explain — never a heading). One of number, line, bar, area, pie, histogram, boxplot, scatter, heatmap, treemap, sunburst, sankey, table, text.
titlestringrequired
What it shows, in sentence case: "Revenue by month"; or, on a chart, the finding: "Revenue up 24% since January".
notestring
A short line under the title: the period and unit ("USD, Jan–Jun 2026").
sheetstring
Every kind but text: a spreadsheet in this space, by its item id.
rangestring
Every block has a header row. number: one cell ("Summary!B2"). line, bar, area: first row names the series, first column labels the points ("Revenue!A1:D13"). pie: labels and one column of values. histogram: one column of raw values, one row per thing measured. boxplot: one column of raw values per group. scatter: x and y columns of numbers; a column of names before them labels the points, a column after them groups them. heatmap: a cross table — header row names the columns, first column the rows, numbers inside. treemap, sunburst: columns of names, outermost level first, then a column of sizes. sankey: one row per flow — from, to, how much. table: header and rows. No tab = the first.
compare_rangestring
number: the cell to compare with (last period, the target); shows the change.
compare_labelstring
number: what the comparison is: "vs Q3", "vs target".
betterstring
number: which way is good, so the change is colored right. One of higher, lower.
trend_rangestring
number: a row or column of numbers drawn as a small line under it (the last 12 months).
series_instring
line, bar, area: each series is a column of the range (default) or a row. One of columns, rows.
stackedboolean
bar, area: series stacked (parts of a total).
horizontalboolean
bar: bars run sideways (long labels, rankings).
binsinteger
histogram: about how many bins; left out, Sturges' rule picks it from the count.
textstring
text: Markdown — headings, short paragraphs, lists.
winteger
Width in columns of 12 (number 3, charts 6, pie 4, text 12 when not given). Tiles go in rows in the order given; a row that ends short of 12 is widened to fill it.
hinteger
Height in grid rows of 44 px (charts 8 when not given, text 4). Number tiles size themselves (3 rows, 4 with a trend); a table without h is as tall as its rows. The tiles of a row take the tallest one's height.
xinteger
Column to start in, with y; left out, the tile goes in the rows (see w).
yinteger
Row to start in, with x.

read_dashboard

A dashboard as it is now: subtitle, look, and each tile in order with its id (what update_dashboard and comment take), kind, sheet and ranges, place on the grid (x, y, w, h — people may have moved them), what it shows now from the sheets, and any error or problem.

Parameters

item_idstringrequired

update_dashboard

Change a dashboard. Any of: title, subtitle, look (color scheme, heatmap scale, font, trend lines on headline numbers, search bar on tables); add_tiles (in rows under the others, or at x and y); change_tiles (by id: the fields you give replace those fields, "" clears one; give x, y, w, h to move or resize); remove_tiles (ids); order_tiles (every id: lays all tiles out again in that order, in full rows); tidy (true: lays all tiles out again in their reading order, in full rows — after removing or resizing tiles leaves gaps). Applied in that order; read_dashboard first to get the ids.

Parameters

item_idstringrequired
titlestring
subtitlestring
lookobject
How it looks; people change the same in its Customize panel. Each part given replaces that part; "" sets it back to the default.
Show child attributes
palettestring
The color scheme of the series: artifacts (default), tableau10, category10, set2, okabe-ito (the most colorblind-safe). One of artifacts, tableau10, category10, set2, okabe-ito, ``.
scalestring
The sequential scale heatmaps use: scheme (default: the scheme's first color, light to dark), blues, greens, viridis, cividis. One of scheme, blues, greens, viridis, cividis, ``.
fontstring
A Google Fonts family for all its text ("IBM Plex Sans"); "" for the default (Inter).
trendsboolean
false hides the trend line on every headline number (those tiles shrink to fit); true shows them again.
searchboolean
true puts a search bar on every table tile.
add_tilesobject[]
Show child attributes
kindstringrequired
Pick by the question (guide topic "dashboards", Chart Selection): number (one headline figure, a KPI); bar (how values compare); line (change over time); area (parts of a total over time, with stacked); pie (part of one whole, five parts or fewer); histogram or boxplot (the distribution: spread, outliers, shape); scatter (the relationship between two measures); heatmap (a value across two categories: day × hour, region × product); treemap or sunburst (hierarchy, part-to-whole by level); sankey (flows from stage to stage); table (exact values); text (a written report's words, beside or under the charts they explain — never a heading). One of number, line, bar, area, pie, histogram, boxplot, scatter, heatmap, treemap, sunburst, sankey, table, text.
titlestringrequired
What it shows, in sentence case: "Revenue by month"; or, on a chart, the finding: "Revenue up 24% since January".
notestring
A short line under the title: the period and unit ("USD, Jan–Jun 2026").
sheetstring
Every kind but text: a spreadsheet in this space, by its item id.
rangestring
Every block has a header row. number: one cell ("Summary!B2"). line, bar, area: first row names the series, first column labels the points ("Revenue!A1:D13"). pie: labels and one column of values. histogram: one column of raw values, one row per thing measured. boxplot: one column of raw values per group. scatter: x and y columns of numbers; a column of names before them labels the points, a column after them groups them. heatmap: a cross table — header row names the columns, first column the rows, numbers inside. treemap, sunburst: columns of names, outermost level first, then a column of sizes. sankey: one row per flow — from, to, how much. table: header and rows. No tab = the first.
compare_rangestring
number: the cell to compare with (last period, the target); shows the change.
compare_labelstring
number: what the comparison is: "vs Q3", "vs target".
betterstring
number: which way is good, so the change is colored right. One of higher, lower.
trend_rangestring
number: a row or column of numbers drawn as a small line under it (the last 12 months).
series_instring
line, bar, area: each series is a column of the range (default) or a row. One of columns, rows.
stackedboolean
bar, area: series stacked (parts of a total).
horizontalboolean
bar: bars run sideways (long labels, rankings).
binsinteger
histogram: about how many bins; left out, Sturges' rule picks it from the count.
textstring
text: Markdown — headings, short paragraphs, lists.
winteger
Width in columns of 12 (number 3, charts 6, pie 4, text 12 when not given). Tiles go in rows in the order given; a row that ends short of 12 is widened to fill it.
hinteger
Height in grid rows of 44 px (charts 8 when not given, text 4). Number tiles size themselves (3 rows, 4 with a trend); a table without h is as tall as its rows. The tiles of a row take the tallest one's height.
xinteger
Column to start in, with y; left out, the tile goes in the rows (see w).
yinteger
Row to start in, with x.
change_tilesobject[]
Show child attributes
idstringrequired
The tile, by the id read_dashboard gives.
kindstring
One of number, line, bar, area, pie, histogram, boxplot, scatter, heatmap, treemap, sunburst, sankey, table, text.
titlestring
notestring
A short line under the title: the period and unit ("USD, Jan–Jun 2026").
sheetstring
Every kind but text: a spreadsheet in this space, by its item id.
rangestring
Every block has a header row. number: one cell ("Summary!B2"). line, bar, area: first row names the series, first column labels the points ("Revenue!A1:D13"). pie: labels and one column of values. histogram: one column of raw values, one row per thing measured. boxplot: one column of raw values per group. scatter: x and y columns of numbers; a column of names before them labels the points, a column after them groups them. heatmap: a cross table — header row names the columns, first column the rows, numbers inside. treemap, sunburst: columns of names, outermost level first, then a column of sizes. sankey: one row per flow — from, to, how much. table: header and rows. No tab = the first.
compare_rangestring
number: the cell to compare with (last period, the target); shows the change.
compare_labelstring
number: what the comparison is: "vs Q3", "vs target".
betterstring
One of higher, lower, ``.
trend_rangestring
number: a row or column of numbers drawn as a small line under it (the last 12 months).
series_instring
One of columns, rows, ``.
stackedboolean
bar, area: series stacked (parts of a total).
horizontalboolean
bar: bars run sideways (long labels, rankings).
binsinteger
histogram: about how many bins; left out, Sturges' rule picks it from the count.
textstring
text: Markdown — headings, short paragraphs, lists.
winteger
Width in columns of 12 (number 3, charts 6, pie 4, text 12 when not given). Tiles go in rows in the order given; a row that ends short of 12 is widened to fill it.
hinteger | ""
Height in grid rows; "" on a table: as tall as its rows.
xinteger
Column to start in, with y; left out, the tile goes in the rows (see w).
yinteger
Row to start in, with x.
remove_tilesstring[]
order_tilesstring[]
tidyboolean

render_dashboard

See a dashboard as people do: screenshots from the top at 1280 px, plus checks — tiles showing an error (a range that no longer reads), cells that are not numbers, pies with too many slices, charts with too many series or groups, histograms and box plots with too few values, sankey flows that loop, empty space in the grid — and errors the page hit.

Parameters

item_idstringrequired
from_screeninteger
First screen to show, default 1.