Back to search

York University

Deconstructing And Restyling SVG Charts Using Large Language Models

Abstract

dc:description.abstract

SVG charts are very common on the Web, however, reusing, editing and restyling these charts is very difficult. To facilitate this process, this thesis explores the challenges of extracting data and visual encodings from SVG chart images and restyling them based on user queries. We leverage large language models (LLMs) to facilitate this process using few-shot prompt approaches, enabling users to deconstruct and restyle existing Vega-Lite visualizations through natural language input. Our evaluation on 800 SVG charts and 250 natural language queries reveals that our system accurately deconstruct 93.4% charts and successfully restyled 38.6% queries. Finally, based on the above techniques, we develop a Chrome plugin tool that detects and deconstructs SVG charts from the web page and then restyles the charts based on user input.

Degree

thesis:*
Name thesis:degree_name
MA - Master of Arts
Level thesis:degree_level
Master's
Discipline thesis:degree_discipline
Information Systems and Technology
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zaidi, Syed Muhammad Ali Raza
Advisor dc:contributor.advisor
  • Hoque Prince, Enamul

Rights

dc:rights
Statement dc:rights
  • Author owns copyright, except where explicitly noted. Please contact the author directly with licensing requests.
Language dc:language
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10315/42798

Chain of custody

source
Harvested from
York University
Base URL
yorkspace.library.yorku.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Zaidi, Syed Muhammad Ali Raza. Deconstructing And Restyling SVG Charts Using Large Language Models. Master's thesis, 2025. https://hdl.handle.net/10315/42798