Challenges & Opportunities with LLM-Assisted Visualization Retargeting
Challenges & Opportunities with LLM-Assisted Visualization Retargeting
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.
Luke S. Snyder、Chenglong Wang、Steven M. Drucker
计算技术、计算机技术
Luke S. Snyder,Chenglong Wang,Steven M. Drucker.Challenges & Opportunities with LLM-Assisted Visualization Retargeting[EB/OL].(2025-07-06)[2025-07-16].https://arxiv.org/abs/2507.01436.点此复制
评论