SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.19097 · 2024

Exploring the Capability of LLMs in Performing Low-Level Visual Analytic Tasks on SVG Data Visualizations

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
lebretou/svg_taxonomy canonical 4 of 5
FunctionStatusWhere it lives
extract_number Ran lebretou/svg_taxonomy/data_generation/plot.py
pointer only (licence: NONE) · get_code("1a6ca3848710d349")
extract_number Ran lebretou/svg_taxonomy/llm/gen_prompt.py
pointer only (licence: NONE) · get_code("7641ccd4efe3716e")
get_completion Ran lebretou/svg_taxonomy/llm/completion.py
pointer only (licence: NONE) · get_code("e3d745f6a2079de4")
get_completion_list Ran lebretou/svg_taxonomy/llm/completion.py
pointer only (licence: NONE) · get_code("020f29f83c3353d6")
generate_prompts Not yet run lebretou/svg_taxonomy/llm/gen_prompt.py
pointer only (licence: NONE) · get_code("c3c10b4c0cfdaf38")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Data visualizations help extract insights from datasets, but reaching these insights requires decomposing high level goals into low-level analytic tasks that can be complex due to varying degrees of data literacy and visualization experience. Recent advancements in large language models (LLMs) have shown promise for lowering barriers for users to achieve tasks such as writing code and may likewise facilitate visualization insight. Scalable Vector Graphics (SVG), a text-based image format common in data visualizations, matches well with the text sequence processing of transformer-based LLMs. In this paper, we explore the capability of LLMs to perform 10 low-level visual analytic tasks defined by Amar, Eagan, and Stasko directly on SVG-based visualizations. Using zero-shot prompts, we instruct the models to provide responses or modify the SVG code based on given visualizations. Our findings demonstrate that LLMs can effectively modify existing SVG visualizations for some tasks like Cluster but perform poorly on tasks requiring mathematical operations like Compute Derived Value. We also discovered that LLM performance can vary based on factors such as the number of data points, the presence of value labels, and the chart type. Our findings contribute to gauging the general capabilities of LLMs and highlight the need for further exploration and development to fully harness their potential in supporting visual analytic tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.19097")
get_code_for_paper("2404.19097")
have("2404.19097")

Connect an agent — have() is free.