
JM
Juan Manuel Castillo Pinto
· 1 min read
ResearcharXiv cs.AI
SqlToViz: A Contract-Pinned, Portable Pipeline for Recommending Chartsfrom SQL Queries and Result Sets
arXiv:2611.38795v1 Announce Type: new
Abstract: Chart recommenders usually start from a table, a corpus of charts, or a natural-language request. Many applications, however, hold only a SQL query and its result set. We describe SqlToViz, a pipeline that recommends one of ten base chart classes (expanded deterministically to twenty visualizations plus a table fallback) from the query text and the executed result. The pipeline is built around a frozen, versioned feature contract (16 lexical SQL features, 16 table-level data features, 28 per-column features), a small ONNX classifier, hard semantic con- straints that fail closed to a table, and cross-runtime parity fixtures so that Python, TypeScript and .NET implementations compute identical features. We report what has been measured: a leakage-audited synthetic benchmark; a held-out evaluation of 100 real queries against the agreement of LLM annotators (three models and one AI-filled workbook of unknown model, not independent of one another); an external evaluation on nvBench, whose labels are human- authored; a feasibility study of role supervision; and parity, latency and numerical-faithfulness measurements. There is no human validation of the recommendations: the reference of the 100-item evaluation is LLM agreement, which is not human judgement. On the external human-authored nvBench labels the experimental models are not validated and perform poorly on accuracy (0.249 for the shipped constrained model against 0.763 for always pre- dicting bar); only macro-F1 is above the baseline. We make no claim of novelty, of superiority over prior systems, or of agreement with human preferences, and the released models remain experimental candidates.
Original source
This story was published by arXiv cs.AI and written by Juan Manuel Castillo Pinto. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


