cs.HCOct 1, 2026

Where LLMs Fail with Visualization DSLs

Authors: Chang Han, Andrew McNutt, Katherine Isaacs

Organizations: University of Utah

Abstract

As LLMs take up the role of authoring charts using visualization domain-specific languages (DSLs), the human constraints that shaped those languages may no longer apply, as what is easy for a person is not necessarily easy for a model. To understand how LLMs might work better with DSLs, we explore where and how they fail with current DSL designs. We evaluate 10 JSON-style visualization DSLs with 41 tasks across 3 LLMs, then assess the generated specifications with JSON and rendering checks, and qualitative coding of failed cases. Analyzing how this specification generation process fails, we identify four recurring failure patterns, link each to specific DSL features, and discuss design considerations for future DSL designs.

Figures & tables

Explore similar work

CardsList
  1. Generating Statistical Charts with Validation-Driven LLM Workflows

    May 1, 2026Pavlin G. Poličar, Andraž Pevcin, Blaž ZupanChartLarge Language Model Workflows

  2. Chartographer: Counterfactual Chart Generation for Evaluating Vision-Language Models

    May 26, 2026Yifan Jiang, Dae Yon Hwang, Jesse C. Cresswell +1ChartVisual Reasoning