mlsanityData to 14 Oct 2026

VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code Generation

arXiv 2506.03930 ↗First posted 4 Jun 2025cs.SE cs.AI cs.CLcited by 17

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) often struggle with visualization tasks like plotting diagrams, charts, where success depends on both code correctness and visual semantics. Existing instruction-tuning datasets lack execution-grounded supervision and offer limited support for iterative code correction, resulting in fragile and unreliable plot generation. We present VisCode-200K, a large-scale instruction tuning dataset for Python-based visualization and self-correction. It contains over 200K examples from two sources: (1) validated plotting code from open-source repositories, paired with natural language instructions and rendered plots; and (2) 45K multi-turn correction dialogues from Code-Feedback, enabling models to revise faulty code using runtime feedback. We fine-tune Qwen2.5-Coder-Instruct on VisCode-200K to create VisCoder, and evaluate it on PandasPlotBench. VisCoder significantly outperforms strong open-source baselines and approaches the performance of proprietary models like GPT-4o-mini. We further adopt a self-debug evaluation protocol to assess iterative repair, demonstrating the benefits of feedback-driven learning for executable, visually accurate code generation.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 12 of its 28 references that are in the map. First posted on arXiv 4 Jun 2025.

Builds on

12 of 28 references.

References · 12

  1. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 355
  2. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  3. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 151
  4. 2025CAD-Llama: Leveraging Large Language Models for Computer-Aided Design Parametric 3D Model Generationcited by 67
  5. 2025Scaling Text-Rich Image Understanding via Code-Guided Synthetic Multimodal Data Generationcited by 58
  6. 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 40
  7. 2024WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualizationcited by 39
  8. 2025Multi-Turn Code Generation Through Single-Step Rewardscited by 28
  9. 2024Drawing Pandas: A Benchmark for LLMs in Generating Plotting Codecited by 23
  10. 2025Revisit Self-Debugging with Self-Generated Tests for Code Generationcited by 22
  11. 2024Vi(E)va LLM! A Conceptual Stack for Evaluating and Interpreting Generative AI-based Visualizationscited by 10
  12. 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 12.

17 papers.

Sort:

By area:

  1. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  2. 2026AI for Auto-Research: Roadmap & User Guidecited by 11
  3. 2025JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligencecited by 9
  4. 2026Scientific Image Synthesis: Benchmarking, Methodologies, and Downstream Utilitycited by 8
  5. 2026VisPhyWorld: Probing Physical Reasoning via Code-Driven Video Reconstructioncited by 7
  6. 2025Code Aesthetics with Agentic Reward Feedbackcited by 6
  7. 2025VisCoder2: Building Multi-Language Visualization Coding Agentscited by 6
  8. 2026DiscoverLLM: From Executing Intents to Discovering Themcited by 6
  9. 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
  10. 2025InteractScience: Programmatic and Visually-Grounded Evaluation of Interactive Scientific Demonstration Code Generationcited by 4
  11. 2026RealChart2Code: Advancing Chart-to-Code Generation with Real Data and Multi-Task Evaluationcited by 4
  12. 2026Rubrics as Visual-Repair Context for Self-Evolving UI-to-Code Generationcited by 2
5 more
  1. 2026DV-World: Benchmarking Data Visualization Agents in Real-World Scenarioscited by 1
  2. 2026Dashboard2Code: Evaluating Multimodal Models on Reconstructing Interactive Dashboardscited by 1
  3. 2026EdiTikZ: Scientific Figure Editing from Revision Trajectoriescited by 1
  4. 2026Leum-VL Technical Reportcited by 0
  5. 2026PrismaCoder: Pushing the Boundaries of Open Multimodal Code Intelligence through Decomposed Rubric Synthesiscited by 0