Skip to main content
SAICA-KG

Papers

VisCoder2: Building Multi-Language Visualization Coding Agents

Yuansheng Ni, Songcheng Cai, Xiang Chen, Jiarong Liang, Z. Lyu, Jiaqi Deng, Kai Zou, Ping Nie, Fei Yuan, Xiang Yue, Wenhu Chen · 2025 · arXiv

Source →arXiv:2510.23642DOI: 10.48550/arXiv.2510.236422 citations
coding-agentsupervisionbenchmark

TL;DR

Experiments show that VisCoder2 significantly outperforms strong open-source baselines and approaches the performance of proprietary models like GPT-4.1, with further gains from iterative self-debug, reaching 82.4% overall execution pass rate at the 32B scale, particularly in symbolic or compiler-dependent languages.

Abstract

Large language models (LLMs) have recently enabled coding agents capable of generating, executing, and revising visualization code. However, existing models often fail in practical workflows due to limited language coverage, unreliable execution, and lack of iterative correction mechanisms. Progress has been constrained by narrow datasets and benchmarks that emphasize single-round generation and single-language tasks. To address these challenges, we introduce three complementary resources for advancing visualization coding agents. VisCode-Multi-679K is a large-scale, supervised dataset containing 679K validated and executable visualization samples with multi-turn correction dialogues across 12 programming languages. VisPlotBench is a benchmark for systematic evaluation, featuring executable tasks, rendered outputs, and protocols for both initial generation and multi-round self-debug. Finally, we present VisCoder2, a family of multi-language visualization models trained on VisCode-Multi-679K. Experiments show that VisCoder2 significantly outperforms strong open-source baselines and approaches the performance of proprietary models like GPT-4.1, with further gains from iterative self-debug, reaching 82.4% overall execution pass rate at the 32B scale, particularly in symbolic or compiler-dependent languages.

Editorial notes

Releases three resources for visualization-coding agents: VisCode-Multi-679K (679K validated executable visualization samples with multi-turn correction dialogues across 12 languages), VisPlotBench (an executable benchmark with single-shot and multi-round self-debug protocols), and VisCoder2 (a model family trained on the dataset). Reports 82.4% overall execution pass rate at 32B with iterative self-debug, particularly in symbolic and compiler-dependent languages. Useful as a worked example of how iterative self-debug closes the gap on logic_error and incomplete_execution failures, and as a Tool-node citation for the visualization-coding subdomain. Relates to SAICA-KG failure modes: logic_error, incomplete_execution.

View raw YAML on GitHub →