Does It Run and Is That Enough? Revisiting Text-to-Chart Generation with a Multi-Agent Approach
On the map: LLM agents and tool use → Multimodal and embodied agents
Abstract (arXiv)
Large language models can translate natural-language chart descriptions into runnable code, yet approximately 15% of the generated scripts still fail to execute, even after supervised fine-tuning and reinforcement learning. We investigate whether this persistent error rate stems from model limitations or from reliance on a single-prompt design. To explore this, we propose a lightweight multi-agent pipeline that separates drafting, execution, repair, and judgment, using only an off-the-shelf GPT-4o-mini model. On the textscText2Chart31 benchmark, our system reduces execution errors to 4.5% within three repair iterations, outperforming the strongest fine-tuned baseline by nearly 5 percentage points while requiring significantly less compute. Similar performance is observed on the textscChartX benchmark, with an error rate of 4.6%, demonstrating strong generalization. Under current benchmarks, execution success appears largely solved. However, manual review reveals that 6 out of 100 sampled charts contain hallucinations, and an LLM-based accessibility audit shows that only 33.3% (textscText2Chart31) and 7.2% (textscChartX) of generated charts satisfy basic colorblindness guidelines. These findings suggest that future work should shift focus from execution reliability toward improving chart aesthetics, semantic fidelity, and accessibility.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Multimodal and embodied agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 43 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
23 of 43 references.
References · 23
- 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,479
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2019PlotQA: Reasoning over Scientific Plotscited by 321
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
- 2024ChartX & ChartVLM: A Versatile Benchmark and Foundation Model for Complicated Chart Reasoningcited by 128
- 2023VisText: A Benchmark for Semantically Rich Chart Captioningcited by 112
- 2023Depicting Beyond Scores: Advancing Image Quality Assessment through Multi-modal Language Modelscited by 105
- 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agentcited by 93
- 2023ChartGPT: Leveraging LLMs to Generate Charts from Abstract Natural Languagecited by 73
- 2024Visualization Generation with Large Language Models: An Evaluationcited by 29
- 2024TraveLER: A Modular Multi-LMM Agent Framework for Video Question-Answeringcited by 25
11 more
- 2024Small Agent Can Also Rock! Empowering Small Language Models as Hallucination Detectorcited by 20
- 2024Unraveling the Truth: Do VLMs really Understand Charts? A Deep Dive into Consistency and Robustnesscited by 17
- 2024Text2Chart31: Instruction Tuning for Chart Generation with Automatic Feedbackcited by 17
- 2024ChartReformer: Natural Language-Driven Chart Image Editingcited by 13
- 2023VizAbility: Enhancing Chart Accessibility with LLM-based Conversational Interactioncited by 12
- 2024Vi(E)va LLM! A Conceptual Stack for Evaluating and Interpreting Generative AI-based Visualizationscited by 10
- 2024SIMPLOT: Enhancing Chart Question Answering by Distilling Essentialscited by 7
- 2024C2: Scalable Auto-Feedback for LLM-based Chart Generationcited by 6
- 2024V-RECS, a Low-Cost LLM4VIS Recommender with Explanations, Captioning and Suggestionscited by 4
- 2025PlotEdit: Natural Language-Driven Accessible Chart Editing in PDFs via Multimodal LLM Agentscited by 3
- 2024Charting the Future: Using Chart Question-Answering for Scalable Evaluation of LLM-Driven Data Visualizationscited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025METAL: A Multi-Agent Framework for Chart Generation with Test-Time Scaling
- 2026Demonstrating chart-plot: Closing the Last Mile of Academic Chart Generation
- 2026Chart Specification: Structural Representations for Incentivizing VLM Reasoning in Chart-to-Code Generation
- 2026CharTool: Tool-Integrated Visual Reasoning for Chart Understanding
- 2026RealChart2Code: Advancing Chart-to-Code Generation with Real Data and Multi-Task Evaluation
- 2026LongChart VQA: A Comprehensive Benchmark for MLLMs with Complex Multi-Chart Reasoning
- 2026ChartJudgeBench: Evaluating LMM Judges for Chart-to-Code Generation
- 2025Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generation