TRANSMISSION // 2611.31345v1

AI Can Draw Charts—But Can It Make Them Work?

Source published

A new benchmark tests whether multimodal AI can generate charts that respond correctly to interaction, update data and transfer styles—not just resemble a picture.

AI-generated conceptual illustration for AI Can Draw Charts—But Can It Make Them Work?
AI-generated conceptual illustration; not documentary evidence.

A chart can look right and still mislead when someone hovers, selects a point or changes the data. ChartInt, a benchmark for multimodal AI models, tests whether generated chart code preserves meaning and behavior as well as appearance.

A screenshot captures only one moment in a chart’s life. Move a pointer over a point and a tooltip may appear; select a legend item and a series may vanish. To recreate an interactive chart, an AI model must do more than copy its appearance: it must generate code that responds to actions while keeping the data and visual meaning straight.

That distinction motivates ChartInt, a benchmark introduced in the paper “Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs.” The authors ask whether multimodal large language models (MLLMs)—systems that process images and text—can reproduce and edit charts in ways that work beyond the initial, static view.

Turning interaction into a repeatable test

ChartInt contains 2,779 tasks built around charts made with ECharts, a web-charting framework. The tasks cover six categories: two types of static reconstruction, interaction, data updates, style adjustments and cross-chart style transfer. In the last task, a model is asked to retain one chart’s data and structure while adopting compatible visual features from another.

The central evaluation challenge is that an interaction state can be fleeting and difficult to reproduce consistently. The researchers address this with a “Preset State Snapshot Protocol.” Rather than relying on a person to hover or click in exactly the right place, the evaluation system uses ECharts’ programmatic controls to trigger a specified state—such as showing a tooltip or highlighting a data item—and captures the resulting chart. The generated output can then be compared with a reference snapshot.

This approach makes behavior testable through visible results. But the authors also note an important detail: a correct-looking snapshot does not, by itself, prove that the underlying code uses the right semantic target. If data points or series are reordered, evaluation must identify the intended item by stable names or keys; a position number alone may point to the wrong thing.

The benchmark checks whether code executes, uses automated visual measures for text and color, and asks GPT-4o to rate visual logic, data content and style. The paper reports a human-rating study and comparisons with another language-model judge as checks on the automated ratings. These measures offer different kinds of evidence: code that runs may still show wrong information, while text and color agreement cannot alone establish correct interaction logic.

Strong static results do not guarantee reliable interaction

The authors report a gap between recreating a chart’s initial appearance and implementing its behavior. In their tests, models that handled static reconstruction relatively well often performed worse on interaction tasks. A tooltip might appear, for example, yet display a value that does not belong to the selected point. Some outputs also showed layout problems when an interaction state appeared; weaker systems could produce a plausible static chart with no working interaction at all.

The benchmark also tests practical editing requests. Across data updates, style adjustments and style transfer, the paper reports lower performance than on basic chart generation. The authors identify style transfer as especially challenging: a model may let the reference chart’s appearance override the original chart’s structure, changing the chart type rather than preserving the source’s data relationships.

These findings are not a claim that every model fails every task. Results vary by model and task, and a model’s ability to produce runnable code is separate from its ability to preserve data meaning. The broad takeaway is narrower: success at making a chart look like a reference is not enough evidence that the generated chart will behave correctly or survive edits.

What the benchmark can—and cannot—show

ChartInt gives researchers a structured way to test several capabilities together, and its snapshot protocol makes selected interaction states more reproducible. But it is still a benchmark, not a direct measure of how models perform in every real-world visualization workflow. Its charts are built around ECharts; the paper discusses possible adaptations to other libraries, but does not report those as evaluated implementations. Preset states also sample specified situations rather than every possible sequence of user actions.

Some assessment depends on an AI judge, even though the authors report checks against human ratings and a second judge. Scores also depend on chosen metrics and, for the overall summary, a weighted formula. The paper presents detailed task results alongside that aggregate, which matters because a combined score can hide differences between visual fidelity, data accuracy and behavior.

The source is an arXiv preprint, so its claims should be read as research findings that may not yet have undergone peer review. The work establishes a useful test for a neglected question: when AI writes chart code, does the visualization remain faithful after someone interacts with it? It does not establish that current systems are ready to manage charts reliably in every setting.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.