Format version 1 · updated 2026-11-24 · always the latest at this address
tabviz data format
How a Google Sheet must be laid out for tabviz to draw it. Written for people filling a Sheet by hand, for scripts, and for AI agents asked to build one (a mind map from a task list, an org chart from an HR export).
Machine-readable: schema.json (fields, header names recognised, settings, template columns, example rows). It is generated from tabviz's code, so it matches what tabviz reads.
Contents
- How tabviz reads a spreadsheet
- Two ways to make one
- For AI agents: a recipe
- Mind map
- Kanban
- Org chart
- Bridge (waterfall)
- Stacked bars
- Mekko
- Gantt
How tabviz reads a spreadsheet
- One tab per chart. The first non-empty row holds the headers. Every following non-empty row is one record (one card, one person, one step, one task). Blank rows are skipped.
- Columns are found by their header, case and extra spaces ignored: an exact name from the "Headers recognised" list first, then a header that contains one. In the row-based widgets (mind map, org chart, bridge, Gantt) columns tabviz does not use are kept and shown in the side panel, so add any column you like. In the block charts (stacked bars, Mekko) every column after the names is a bar or a market: keep other columns out of the tab, or set a
range. - A
configtab holds the settings of every chart: three columns headedview,key,value, one setting per row. A chart (a "view") needs at leasttypeandsource(the data tab's name). Any field can be pointed at a header withcol.<field>, or switched off with-. Rows whose view starts with_are tabviz bookkeeping (who holds the pen): leave them alone. - Yes/no settings take
yesorno(alsotrue,1,on,oui,vraifor yes). - Optional keys for every view:
range(an A1 range inside the tab, e.g.A1:F40),header_row(1-based row of the headers),title(shown above the chart),edit:solodrops the pen for this view: changes show at once and are saved in the background, for a Sheet one person edits (someone editing the same rows at the same time could be overwritten;directis an older name for it). - Status (mind map and kanban):
todo,doingordone, case ignored, with synonyms (à faire,to do,open;en cours,in progress,wip;fait,terminé,closed…). Any other value is kept and shown neutral, as its own kanban column. tabviz writes a status in the spelling the column already uses most. - Types matter. Dates must be real dates, numbers real numbers: a date typed as text, or "1,2" in a text column, is read as text. The ready-made tabs format their columns so this cannot happen by accident.
- Formulas are read, never written. tabviz shows their result and refuses to edit them, including cells filled by an array formula or IMPORTRANGE.
- README tab. A spreadsheet created by tabviz starts with a short README tab linking here. tabviz never reads it; delete it if you like.
Two ways to make one
1. Start the Sheet in tabviz, then paste the rows (recommended)
In tabviz: Start a Sheet, pick the chart, untick "Fill with example rows", create. The tab comes with formatted columns, dropdowns, header notes and its config rows. Then paste your rows at A2, without the header line: row 1 already holds it. Tab-separated text pasted into Sheets splits into columns. This is the future-proof path: tabviz is moving to the narrower drive.file permission, under which it will only open Sheets it created itself.
2. Write the spreadsheet yourself (Sheets API, a script, an agent with Sheets access)
Create a data tab with the headers below, and a config tab with at least the type and source rows (each widget below gives its exact config rows). tabviz opens it today, with a notice that the Sheet was not created by tabviz. Keep dates as date values and IDs consistent. Before pasting into a tab tabviz did not create, format the reference columns (mind map Requires, Gantt Depends on, org Manager) as Format › Number › Plain text: otherwise a Sheet in a comma-decimal locale (French, German…) turns 1,5 into the number 1.5.
For AI agents: a recipe
Typical request: "read my task list and make a mind map of it". Steps:
- Read this page and the Mind map section; or fetch schema.json and use
widgets.mindmap. - Choose the shape: one root card (the subject), 3 to 9 first-level cards (themes), then the items. The parent lists its children: a theme's
Requirescell holds the IDs of its items, never the other way round, even when "requires" reads oddly for "contains". If an item belongs to two themes, list it in both parents' Requires cells rather than duplicating the row. - Large lists: keep about 15 children or fewer under one card. Above that, add a level of sub-themes; the depth is free. A map of a few hundred cards is fine (see Size for what opens first).
- Clean the source: leave out done or cancelled items unless asked to keep them; merge exact duplicates into one card (note the repeats or dates in its description); keep abbreviations and codes you cannot explain exactly as written, never guess their meaning; leave out secrets (passwords, keys, device addresses), since the Sheet is shared like any Sheet.
- Give each row a unique
ID(1, 2, 3… is fine). Keep titles short (under ~60 characters) and readable: a bare link is not a title, write what it is ("OWASP top ten") and put the address inDescription; if you shorten a long title, put the full one at the start of the description. Details, dates, links and #tags go inDescription, which can be long (the card shows 3 lines, the side panel all of it, a Sheets cell holds up to 50,000 characters). - Use #tags for cross-cutting facets the tree does not show (a context, a person, a status):
#calls,#waiting,#q1. What counts as a tag is defined once, under #tags. Source text often holds accidental ones ("issue #39", "#how"): there is no escape character, so rewrite them (issue no. 39) or glue the#to the word before (issue#39is not a tag). - Output tab-separated rows in the column order
ID⇥Title⇥Description⇥Requires, one line per card, no tabs or line breaks inside a cell (write " · " instead of a line break; line breaks are only safe when you write cells through the Sheets API). Never wrap a cell in quotes: a"inside the text is fine, but no cell may start with"(Sheets would read a quoted field),'(Sheets swallows it as a text marker), or=,+,-,@(read as a formula: drop a leading "- " from list items). In Requires, separate IDs with a comma and a space:4, 5, 9. Say which paste it is for: into a tab started in tabviz, rows only, pasted at A2; into an empty tab, the header line first, pasted at A1. - Check before handing over: IDs unique; every ID in a Requires cell exists; exactly one card is required by nobody (the root), unless you want several trees; no card requires one of its own ancestors (a loop is drawn in red and flagged).
- Hand it over with the steps of "Start the Sheet in tabviz, then paste", or write it yourself (way 2, with config rows
mindmap | type | mindmapandmindmap | source | <tab name>).
Prompt that works: "Read my 'maybe' task list. Make a tabviz mind map of it following https://tabviz.emergence.md/docs/#mindmap : a root 'Maybe', themes as first-level cards, each task under its theme, due dates and links in the description, contexts as #tags. Give me the tab-separated rows without the header line, to paste at A2 of a Mind map tab started in tabviz, then check them against the rules on that page."