[Submitted on 23 Nov 2026]
Title: Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
View PDF
HTML (experimental)
arXiv abs
Affiliations:
Renmin University of China; Beijing Forestry University; University of Electronic Science and Technology of China
Code:
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.
| Subjects: | Artificial Intelligence (cs.AI) ; Computer Vision and Pattern Recognition (cs.CV) |
| Comments: | ACM WSDM 2027 (Main Track), Our code and data are available at this https URL |
| Cite as: | arXiv:2611.31345 [cs.AI] |