Challenges & Opportunities with LLM-Assisted Visualization Retargeting

Luke S. Snyder, Chenglong Wang, Steven M. Drucker
7/2/2025
cs.HCcs.AI

No confident code implementation found for this paper.

Abstract

Despite the ubiquity of visualization examples published on the web, retargeting existing custom chart implementations to new datasets remains difficult, time-intensive, and tedious. The adaptation process assumes author familiarity with both the implementation of the example as well as how the new dataset might need to be transformed to fit into the example code. With recent advances in Large Language Models (LLMs), automatic adaptation of code can be achieved from high-level user prompts, reducing the barrier for visualization retargeting. To better understand how LLMs can assist retargeting and its potential limitations, we characterize and evaluate the performance of LLM assistance across multiple datasets and charts of varying complexity, categorizing failures according to type and severity. In our evaluation, we compare two approaches: (1) directly instructing the LLM model to fully generate and adapt code by treating code as text inputs and (2) a more constrained program synthesis pipeline where the LLM guides the code construction process by providing structural information (e.g., visual encodings) based on properties of the example code and data. We find that both approaches struggle when new data has not been appropriately transformed, and discuss important design recommendations for future retargeting systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{snyder2025challenges,
  title  = {Challenges & Opportunities with LLM-Assisted Visualization Retargeting},
  author = {Luke S. Snyder and Chenglong Wang and Steven M. Drucker},
  year   = {2025},
  eprint = {2507.01436},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.01436v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.01436.svg)](https://codeofpaper.com/paper/2507.01436)

Discussion