{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/exploring-the-capability-of-llms-in","title":"Exploring the Capability of LLMs in Performing Low-Level Visual Analytic Tasks on SVG Data Visualizations","arxiv_id":"2404.19097","date":"2024-04-29","proceeding":null,"authors":["Zhongzheng Xu","Emily Wall"],"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.","url_abs":"https://arxiv.org/abs/2404.19097v2","url_pdf":"https://arxiv.org/pdf/2404.19097v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"exploring-the-capability-of-llms-in","repo_url":"https://github.com/lebretou/svg_taxonomy","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2404.19097","atlas_url":"https://app.syntology.ai/?focus=2404.19097","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.19097"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lebretou/svg_taxonomy","reach":{"status":"ok"}}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"1a6ca3848710d349","entry":"extract_number","repo":"lebretou/svg_taxonomy","repo_kind":"official","path":"data_generation/plot.py","file_url":"https://github.com/lebretou/svg_taxonomy/blob/HEAD/data_generation/plot.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1a6ca3848710d349"}},{"code_sha256_prefix":"7641ccd4efe3716e","entry":"extract_number","repo":"lebretou/svg_taxonomy","repo_kind":"official","path":"llm/gen_prompt.py","file_url":"https://github.com/lebretou/svg_taxonomy/blob/HEAD/llm/gen_prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7641ccd4efe3716e"}},{"code_sha256_prefix":"e3d745f6a2079de4","entry":"get_completion","repo":"lebretou/svg_taxonomy","repo_kind":"official","path":"llm/completion.py","file_url":"https://github.com/lebretou/svg_taxonomy/blob/HEAD/llm/completion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3d745f6a2079de4"}},{"code_sha256_prefix":"020f29f83c3353d6","entry":"get_completion_list","repo":"lebretou/svg_taxonomy","repo_kind":"official","path":"llm/completion.py","file_url":"https://github.com/lebretou/svg_taxonomy/blob/HEAD/llm/completion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"020f29f83c3353d6"}},{"code_sha256_prefix":"c3c10b4c0cfdaf38","entry":"generate_prompts","repo":"lebretou/svg_taxonomy","repo_kind":"official","path":"llm/gen_prompt.py","file_url":"https://github.com/lebretou/svg_taxonomy/blob/HEAD/llm/gen_prompt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c3c10b4c0cfdaf38"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}