Aligned Multi-View Scripts for Universal Chart-to-Code Generation
Not on the map. Why?
Abstract (arXiv)
Chart-to-code generation converts a chart image into an executable plotting script, enabling faithful reproduction and editable visualizations. Existing methods are largely Python-centric, limiting practical use and overlooking a critical source of supervision: the same chart can be expressed by semantically equivalent scripts in different plotting languages. To fill this gap, we introduce Chart2NCode, a dataset of 176K charts paired with aligned scripts in Python, R, and LaTeX that render visually equivalent outputs, constructed via a metadata-to-template pipeline with rendering verification and human quality checks. Building on a LLaVA-style architecture, we further propose CharLuMA, a parameter-efficient adaptation module that augments the multimodal projector with a language-conditioned mixture of low-rank subspaces, allowing the model to share core chart understanding while specializing code generation to the target language through lightweight routing. Extensive experiments show consistent gains in executability and visual fidelity across all languages, outperforming strong open-source baselines and remaining competitive with proprietary systems. Further analyses reveal that balanced multi-language supervision benefits all languages and that the adapter allocates a compact shared core plus language-specific capacity. Codes and data are available at https://github.com/Zhihan72/CharLuMA.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 23 of its 41 references that are in the map. First posted on arXiv 27 Apr 2026.
Builds on
23 of 41 references.
References · 23
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,582
- 2019Contrastive Multiview Codingcited by 1,297
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2019Cross-lingual Language Model Pretrainingcited by 1,088
- 2024Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMscited by 822
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 733
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
11 more
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2023BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questionscited by 125
- 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 118
- 2024MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualizationcited by 98
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 74
- 2024CuMo: Scaling Multimodal LLM with Co-Upcycled Mixture-of-Expertscited by 56
- 2024ChartMoE: Mixture of Diversely Aligned Expert Connector for Chart Understandingcited by 44
- 2024Distill Visual Chart Reasoning Ability from LLMs to MLLMscited by 30
- 2024Multimodal Self-Instruct: Synthetic Abstract Image and Visual Reasoning Instruction Using Language Modelcited by 21
- 2024ChartReformer: Natural Language-Driven Chart Image Editingcited by 13
- 2025Boosting Chart-to-Code Generation in MLLM via Dual Preference-Guided Refinementcited by 10
Built on by
Citing papers per year: 2026: 2.
2 papers.