cs.AINov 23, 2026

Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs

Authors: Yuhan Bian, Haoyu Liu, Siyu Li, Hanpei Guo, Jingrong Gao, Zhixu Li

Organizations: School of Information, Renmin University of China, Beijing, China · School of Smart Governance, Renmin University of China, Suzhou, China · School of Art and Design, Beijing Forestry University, Beijing, China · School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu, China

Abstract

In recent years, multimodal large language models (MLLMs) have achieved significant progress in chart-to-code generation. However, existing benchmarks mainly focus on static charts, overlooking interactive charts that enable richer and more expressive data exploration. Unlike static chart-to-code generation, which emphasizes visual consistency, interactive chart-to-code evaluation targets behavioral consistency, requiring chart states to evolve correctly under sequences of user interactions, thereby rendering traditional one-step evaluation paradigms ineffective. To address this gap, we introduce ChartInt, the first benchmark specifically designed for interactive chart-to-code generation. ChartInt consists of 2,779 carefully annotated examples covering common interaction patterns such as hover, highlight, and tooltips. Additionally, ChartInt incorporates editing tasks such as data updates, style adjustments, and cross-chart style transfer to expand real-world application scenarios. To enable reliable evaluation of interaction behavior, we propose a preset state snapshot protocol that predefines target interaction states and deterministically triggers interaction events, transforming dynamic behaviors into reproducible evaluation targets. Based on this protocol, we design a multi-dimensional evaluation framework measuring semantic and stylistic consistency. Experiments show that while current MLLMs perform well on static charts, their performance drops significantly on interactive tasks, highlighting the need for interaction-aware benchmarks.

Figures & tables

Explore similar work

CardsList
  1. From Charts to Code: A Hierarchical Benchmark for Multimodal Models

    Oct 20, 2025Jiahao Tang, Henry Hengyuan Zhao, Lijian Wu +8Data VisualizationChart-to-Code Generation

  2. ChartAnno: Benchmarking Multimodal Large Language Models for Chart Annotation Generation

    Aug 4, 2026Zhenghan Chen, Zekai Shao, Lidan Tan +10Data VisualizationMultimodal Large Language Models

  3. ChartEditBench: Evaluating Grounded Multi-Turn Chart Editing in Multimodal Language Models

    Feb 17, 2026Manav Nitin Kapadnis, Lawanya Baghel, Atharva Naik +1Multimodal Model EvaluationAutomated Evaluation