Data stories: hand a table to Hunchful as a story that plays
create_data_story"Gör en databerättelse": a table that plays (race, rank, lines) or a tree (nodes), private to them, in their Hunchful AI chat. Always a source, never numbers from memory: try fetch_dataset first. To put it on a place: create_post with story_id. To change one: story_id and the whole recipe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | map only: which map. | |
| form | No | race: who overtakes (5+ series); rank: places step by step (5–10); lines: 1–5 over time; map: countries or län (needs geo, ids ISO3 or län codes); tree: give nodes, no table. | |
| keys | No | Instead of table: the years (rising). | |
| show | No | race: how many bars; rank: how many places. | |
| unit | No | '%', 'personer', 'kr' … | |
| color | No | series (default with 2+ series): each series its own colour; accent: one colour. | |
| nodes | No | tree only: at most 40 nodes, at most 8 lanes (leave lane out — the server lays them out). | |
| table | No | CSV or TSV: a header with the series' names, one row per year (or one row per series). | |
| title | Yes | Short, what the story shows: 'Kodspråk sedan 1970'. | |
| labels | No | map only: numbers on the regions. | |
| series | No | Instead of table: each series' values, one per key (at most 60; a map every region, up to 250). | |
| source | Yes | Where the numbers (a tree's years) come from (required). | |
| emblems | No | auto (default): a flag for an ISO3 id, else initials. | |
| chapters | No | Captions at a year that tell the turn; hold (ms) pauses; focus: the ≤3 series it's about. | |
| decimals | No | ||
| emphasis | No | Series to stand out (ids or names) — a tree's node ids. | |
| question | No | Only when the person asks for one: ONE question at the end with 2–4 short answers. Leave it out otherwise. | |
| story_id | No | To change a story you made before. | |
| subtitle | No | ||
| durationMs | No | How long it plays. Leave it out: 1,5 s per step for a race or a map. |