Pith. sign in

REVIEW 4 cited by

Generating Analytic Specifications for Data Visualization from Natural Language Queries using Large Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2408.13391 v2 pith:ARW2SOI7 submitted 2024-08-23 cs.HC

classification cs.HC
keywords languagepromptqueryanalyticnaturalvisualizationdatadataset
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Recently, large language models (LLMs) have shown great promise in translating natural language (NL) queries into visualizations, but their "black-box" nature often limits explainability and debuggability. In response, we present a comprehensive text prompt that, given a tabular dataset and an NL query about the dataset, generates an analytic specification including (detected) data attributes, (inferred) analytic tasks, and (recommended) visualizations. This specification captures key aspects of the query translation process, affording both explainability and debuggability. For instance, it provides mappings from the detected entities to the corresponding phrases in the input query, as well as the specific visual design principles that determined the visualization recommendations. Moreover, unlike prior LLM-based approaches, our prompt supports conversational interaction and ambiguity detection capabilities. In this paper, we detail the iterative process of curating our prompt, present a preliminary performance evaluation using GPT-4, and discuss the strengths and limitations of LLMs at various stages of query translation. The prompt is open-source and integrated into NL4DV, a popular Python-based natural language toolkit for visualization, which can be accessed at https://nl4dv.github.io.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Flint: A Semantics-Driven Data Visualization Intermediate Language

    cs.HC 2026-07 conditional novelty 7.0 of 10

    Flint compiles short semantics-tagged chart specs into fully configured Vega-Lite, ECharts, and Chart.js visualizations, and LLM agents using it beat agents writing Vega-Lite directly in an automated evaluation.

  2. How Do Researchers Manage Visualization Experiment Stimuli?

    cs.HC 2026-07 accept novelty 6.0 of 10

    A 19-participant interview study maps how visualization researchers build, check, and deploy experiment stimuli, and turns their bottlenecks into a research agenda.

  3. Urbanite: A Dataflow-Based Framework for Human-AI Interactive Alignment in Urban Visual Analytics

    cs.HC 2025-08 conditional novelty 6.0 of 10

    Urbanite combines a dataflow canvas with an LLM assistant so non-programmers can author urban visual analytics workflows by stating intent, with visible steps, explanations, and version history.

  4. Observational signatures and polarized images of rotating charged black holes in Kalb-Ramond Gravity

    gr-qc 2025-08 unverdicted novelty 5.0 of 10

    Simulated shadows and synchrotron polarization images of rotating charged Kalb-Ramond black holes are said to show M87* constrains the charge and Lorentz-violating parameters more strongly than Sgr A*.

Pith tools