Do Large Language Models Understand Data Visualization Rules?
Martin Sinnona, Valentin Bonas, Emmanuel Iarussi, Viviana Siless

TL;DR
This paper evaluates whether large language models can understand and enforce data visualization rules, showing they perform well on obvious violations but struggle with subtle perceptual rules, highlighting both potential and limitations.
Contribution
It systematically assesses LLMs' ability to verify visualization rules using a controlled dataset and compares their performance to symbolic constraint-based systems.
Findings
High adherence in structured output formats (up to 100%)
Reliable detection of common violations (F1 up to 0.82)
Performance drops on subtle perceptual rules and complex constraints
Abstract
Data visualization rules-derived from decades of research in design and perception-ensure trustworthy chart communication. While prior work has shown that large language models (LLMs) can generate charts or flag misleading figures, it remains unclear whether they can reason about and enforce visualization rules directly. Constraint-based systems such as Draco encode these rules as logical constraints for precise automated checks, but maintaining symbolic encodings requires expert effort, motivating the use of LLMs as flexible rule validators. In this paper, we present the first systematic evaluation of LLMs against visualization rules using hard-verification ground truth derived from Answer Set Programming (ASP). We translated a subset of Draco's constraints into natural-language statements and generated a controlled dataset of 2,000 Vega-Lite specifications annotated with explicit rule…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Visualization and Analytics · Topic Modeling · Multimodal Machine Learning Applications
