ChartGen: Scaling Chart Understanding Via Code-Guided Synthetic Chart Generation
Not on the map. Why?
Abstract (arXiv)
Chart-to-code reconstruction -- the task of recovering executable plotting scripts from chart images -- provides important insights into a model's ability to ground data visualizations in precise, machine-readable form. Yet many existing multimodal benchmarks largely focus primarily on answering questions about charts or summarizing them. To bridge this gap, we present ChartGen, a fully-automated pipeline for code-guided synthetic chart generation. Starting from seed chart images, ChartGen (i) prompts a vision-language model (VLM) to reconstruct each image into a python script, and (ii) iteratively augments that script with a code-oriented large language model (LLM). Using ChartGen, we create 222.5K unique chart-image code pairs from 13K seed chart images, and present an open-source synthetic chart dataset covering 27 chart types, 11 plotting libraries, and multiple data modalities (image, code, text, CSV, DocTags). From this corpus, we curate a held-out chart-to-code evaluation subset of 4.3K chart image-code pairs, and evaluate six open-weight VLMs (3B - 26B parameters), highlighting substantial room for progress. We release the pipeline, prompts, and the dataset to help accelerate efforts towards robust chart understanding and vision-conditioned code generation: https://github.com/SD122025/ChartGen/
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 31 May 2025.
Builds on
20 of 30 references.
References · 20
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scalingcited by 1,599
- 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,479
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2017FigureQA: An Annotated Figure Dataset for Visual Reasoningcited by 319
- 2022Chart-to-Text: A Large-Scale Benchmark for Chart Summarizationcited by 169
- 2024Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineeringcited by 152
- 2023MMC: Advancing Multimodal Chart Understanding with Large-scale Instruction Tuningcited by 150
- 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 129
8 more
- 2023ChartBench: A Benchmark for Complex Visual Reasoning in Chartscited by 120
- 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generationcited by 92
- 2024A Survey on Benchmarks of Multimodal Large Language Modelscited by 82
- 2025Docling: An Efficient Open-Source Toolkit for AI-driven Document Conversioncited by 63
- 2025Scaling Text-Rich Image Understanding via Code-Guided Synthetic Multimodal Data Generationcited by 58
- 2025SmolDocling: An ultra-compact vision-language model for end-to-end multi-modal document conversioncited by 53
- 2024MultiChartQA: Benchmarking Vision-Language Models on Multi-Chart Problemscited by 24
- 2024mChartQA: A universal benchmark for multimodal Chart Question Answer based on Vision-Language Alignment and Reasoningcited by 9
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026ChartVerse: Scaling Chart Reasoning via Reliable Programmatic Synthesis from Scratchcited by 10
- 2026ChartNet: A Million-Scale, High-Quality Multimodal Dataset for Robust Chart Understandingcited by 8
- 2026Penguin-VL: Exploring the Efficiency Limits of VLM with LLM-based Vision Encoderscited by 7
- 2026MM-ReCoder: Advancing Chart-to-Code Generation with Reinforcement Learning and Self-Correctioncited by 5
- 2026Infinity-Parser2 Technical Reportcited by 4
- 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrievalcited by 0
- 2026When Does Consensus Mean Correctness? Measuring the Agreement-Accuracy Coupling with Semantics-Preserving Re-Renderingcited by 0
- 2026ChartBmkAgent: Harness-Governed Multi-Agent Construction of Chart QA Benchmarks from Sparse Error-Taxonomy Specificationscited by 0
- 2026ChartBmkAgent: Harness-Governed Multi-Agent Construction of Chart QA Benchmarks from Sparse Error-Taxonomy Specifications6 Oct 2026
- 2026When Does Consensus Mean Correctness? Measuring the Agreement-Accuracy Coupling with Semantics-Preserving Re-Rendering6 Aug 2026
- 2026Infinity-Parser2 Technical Report8 Jul 2026
- 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval17 Apr 2026
- 2026MM-ReCoder: Advancing Chart-to-Code Generation with Reinforcement Learning and Self-Correction2 Apr 2026
- 2026ChartNet: A Million-Scale, High-Quality Multimodal Dataset for Robust Chart Understanding28 Mar 2026
- 2026Penguin-VL: Exploring the Efficiency Limits of VLM with LLM-based Vision Encoders6 Mar 2026
- 2026ChartVerse: Scaling Chart Reasoning via Reliable Programmatic Synthesis from Scratch20 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026RealChart2Code: Advancing Chart-to-Code Generation with Real Data and Multi-Task Evaluation
- 2025START: Spatial and Textual Learning for Chart Understanding
- 2025From Charts to Code: A Hierarchical Benchmark for Multimodal Models
- 2026ChartRevive: Reconstructing Data Visualizations from Chart Images Using MLLM ↗
- 2026Demonstrating chart-plot: Closing the Last Mile of Academic Chart Generation
- 2025ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learning
- 2026Chart Specification: Structural Representations for Incentivizing VLM Reasoning in Chart-to-Code Generation
- 2025ChartAnchor: Chart Grounding with Structural-Semantic Fidelity