Displays

chart and map — how a node is drawn. Always a node’s last step.

chart

trend:
  chart: { from: affordability, type: line, x: year, y: years_of_salary, unit: years }
OptionMeaning
fromThe node drawn (or the node’s own table when it has earlier steps).
typekpi, line, bar, column, area, scatter, table or heatmap.
xThe column along the horizontal axis.
yOne column or a list along the vertical axis; a KPI’s value; a heatmap’s rows.
groupOne line or set of bars per value of this column.
color, valueA heatmap’s colour column.
atA KPI’s row, ordered by x: last (default) or first.
unitShown after values.
titleThe chart’s title.

map

where:
  map: { from: cells, level: cell, area: AM01, color: heat }
OptionMeaning
fromThe node drawn.
levelmarz, district, community or cell.
areaFor cells: AM or AM01; for regions, a marz to show alone.
codeThe column holding place codes (default code). Cells also need lat and lon.
colorThe column that colours each place.
timeA time column becomes a slider.
titleThe map’s title.