Convert timeline data to Mermaid timeline visualization
Table-in, table-out — composes downstream of SELECTs.
THEN MERMAID_TIMELINETHEN MERMAID_TIMELINE({{ timestamp_col }})THEN MERMAID_TIMELINE({{ timestamp_col }}, {{ event_col }})| name | type | description |
|---|---|---|
| timestamp_col(optional) | VARCHAR | — |
| event_col(optional) | VARCHAR | — |
| _table | TABLE | — |
Produces Mermaid timeline output from timestamped events
SELECT
*
FROM
(
VALUES
('2024-01', 'Kickoff'),
('2024-02', 'Launch')
) AS t (timestamp, event) THEN MERMAID_TIMELINE THEN PYTHON (
'result = pd.DataFrame({"ok":[df.iloc[0]["format"] == "mermaid-timeline" and "Kickoff" in df.iloc[0]["mermaid"]]})'
)Convert triples to Mermaid graph visualization
Render a chart specification to PNG image
Artistically stylize a chart image while preserving data
Generate a Plotly chart from data using LLM
Convert triples to relational node/edge graph tables for recursive CTE traversal
Generate a Vega-Lite chart from data using LLM
Convert timeline data to Mermaid timeline visualization
Table-in, table-out — composes downstream of SELECTs.
THEN MERMAID_TIMELINETHEN MERMAID_TIMELINE({{ timestamp_col }})THEN MERMAID_TIMELINE({{ timestamp_col }}, {{ event_col }})| name | type | description |
|---|---|---|
| timestamp_col(optional) | VARCHAR | — |
| event_col(optional) | VARCHAR | — |
| _table | TABLE | — |
Produces Mermaid timeline output from timestamped events
SELECT
*
FROM
(
VALUES
('2024-01', 'Kickoff'),
('2024-02', 'Launch')
) AS t (timestamp, event) THEN MERMAID_TIMELINE THEN PYTHON (
'result = pd.DataFrame({"ok":[df.iloc[0]["format"] == "mermaid-timeline" and "Kickoff" in df.iloc[0]["mermaid"]]})'
)Convert triples to Mermaid graph visualization
Render a chart specification to PNG image
Artistically stylize a chart image while preserving data
Generate a Plotly chart from data using LLM
Convert triples to relational node/edge graph tables for recursive CTE traversal
Generate a Vega-Lite chart from data using LLM