SqlToViz paper describes chart-recommendation pipeline built from SQL queries
An arXiv abstract introduces a pipeline that recommends chart types directly from a SQL query and its result set, using a pinned feature contract and a small classifier.
In plain words
Many tools can suggest charts only when given a finished table or a written request. SqlToViz instead reads a SQL query — the code used to fetch data — plus the results it returns, and recommends a suitable visualization. The authors stress their models are experimental and have not been validated against human judgement.
What was announced
SqlToViz recommends one of ten base chart classes, which expand deterministically into twenty visualizations plus a table fallback, using the query text and the executed result. The pipeline rests on a frozen, versioned feature contract — 16 lexical SQL features, 16 table-level data features and 28 per-column features — feeding a small ONNX classifier. Hard semantic constraints fail closed to a table, and cross-runtime parity fixtures are designed so Python, TypeScript and .NET implementations compute identical features.
The reported evidence is mixed. The authors describe a leakage-audited synthetic benchmark, a held-out evaluation of 100 real queries measured against agreement among LLM annotators, an external evaluation on nvBench with human-authored labels, a feasibility study of role supervision, and parity, latency and numerical-faithfulness measurements. They note the annotators — three models and one AI-filled workbook of unknown model — are not independent of one another, and no human validation of recommendations exists. On the human-labelled nvBench data, the experimental models performed poorly: the shipped constrained model reached 0.249 accuracy against 0.763 for always predicting bar, with only macro-F1 above that baseline. The authors claim no novelty, superiority or agreement with human preferences, and describe the released models as experimental candidates.
What it does not show
- The evidence is an abstract only; the full paper's methods and results were not available for review.
- The 100-query evaluation used LLM agreement as its reference, which the authors state is not human judgement, and no human validation of recommendations was performed.
- On human-authored nvBench labels the models were not validated and showed poor accuracy, so real-world recommendation quality remains unestablished.
For security and IT teams
- Status
- The released models are described by the authors as experimental candidates, not validated systems.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.