Where LLMs Fail with Visualization DSLs
Chang Han, Andrew McNutt, Katherine Isaacs
Key points
From the paper's conclusion- We evaluate 10 JSON-style visualization DSLs with 41 tasks across 3 LLMs, then assess the generated specifications with JSON and rendering checks, and qualitative coding of failed cases.
Abstract
As LLMs take up the role of authoring charts using visualization domain-specific languages (DSLs), the human constraints that shaped those languages may no longer apply, as what is easy for a person is not necessarily easy for a model. To understand how LLMs might work better with DSLs, we explore where and how they fail with current DSL designs. We evaluate 10 JSON-style visualization DSLs with 41 tasks across 3 LLMs, then assess the generated specifications with JSON and rendering checks, and qualitative coding of failed cases. Analyzing how this specification generation process fails, we identify four recurring failure patterns, link each to specific DSL features, and discuss design considerations for future DSL designs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- VisCodeBench: a new benchmark dataset for Text-to-Vis reflecting real-world practicearXiv · 2026
- ChartBmkAgent: Harness-Governed Multi-Agent Construction of Chart QA Benchmarks from Sparse Error-Taxonomy SpecificationsarXiv · 2026
- Evaluating Human-LLM Alignment on Visualization PreferencearXiv · 2026
- MultiVis-Agent: A Multi-Agent Framework with Logic Rules for Reliable and Comprehensive Cross-Modal Data VisualizationProceedings of the ACM on Management of Data · 2026
- MathVis: Can AI Reason through Drawing? A Benchmark for Mathematical Figure GenerationarXiv · 2026
- DSL-Bench: Evaluating and Explaining LLM Code Generation Across Domain-Specific LanguagesarXiv · 2026