English

Evaluating LLMs for Visualization Tasks

Software Engineering 2025-06-16 v1 Artificial Intelligence

Abstract

Information Visualization has been utilized to gain insights from complex data. In recent times, Large Language Models (LLMs) have performed very well in many tasks. In this paper, we showcase the capabilities of different popular LLMs to generate code for visualization based on simple prompts. We also analyze the power of LLMs to understand some common visualizations by answering simple questions. Our study shows that LLMs could generate code for some visualizations as well as answer questions about them. However, LLMs also have several limitations. We believe that our insights can be used to improve both LLMs and Information Visualization systems.

Keywords

Cite

@article{arxiv.2506.10996,
  title  = {Evaluating LLMs for Visualization Tasks},
  author = {Saadiq Rauf Khan and Vinit Chandak and Sougata Mukherjea},
  journal= {arXiv preprint arXiv:2506.10996},
  year   = {2025}
}