Towards Natural Language Interfaces for Data Visualization: A Survey

Leixian Shen, Enya Shen, Yuyu Luo, Xiaocong Yang, Xuming Hu, Xiongshuai Zhang, Zhiwei Tai, Jianmin Wang · DOI

Introduction: Bridging the Translation Gap

Traditional data visualization tools have long relied on the WIMP (Windows, Icons, Menus, and Pointer) paradigm. While effective, these interfaces impose a significant "translation tax" on users, requiring them to manually decompose high-level analytical intents—such as "How does budget correlate with sales over time?"—into a tedious sequence of clicks, drags, and menu selections.

Visualization-oriented Natural Language Interfaces (V-NLIs) aim to eliminate this friction by allowing users to interact with data using natural language. This survey provides a comprehensive roadmap of the field, particularly focusing on the recent "Outbreak Stage" where research has exploded due to advancements in deep learning.

The Extended Visualization Pipeline

To categorize two decades of fragmented research, the authors propose an extended visualization pipeline. This framework wraps the classic information visualization pipeline in a dedicated natural language layer, identifying seven critical stages of interaction.

The extended visualization pipeline incorporating a dedicated Natural Language Interface layer across data and visualization spaces.

These stages include Query Interpretation, where NLP toolkits parse syntax; Data Transformation, which handles aggregation and filtering; and Visual Mapping, which automatically selects marks and channels. The pipeline also accounts for Human Interaction through feedback loops and Dialogue Management to track context across multiple queries (e.g., resolving what "it" refers to in a follow-up question).

Evolution and the "Outbreak" Era

The survey reviews 57 core V-NLI papers and over 280 related works, revealing a clear temporal progression. The field has moved from an "Infancy Stage" of rigid, template-based systems to a "Development Stage" and finally to the current "Outbreak Stage."

A timeline of V-NLI research categorized into Infancy, Development, and Outbreak stages, aligned with major NLP milestones.

This recent surge, beginning around 2017, was fueled by the "Transformer revolution" in NLP (e.g., BERT, GPT). We have transitioned from traditional rule-based parsers to flexible, end-to-end neural architectures like ADVISor and ncNet, which can translate a query directly into a visualization specification like Vega-Lite.

Key Insights: Ambiguity and Multimodality

A central finding of the survey is that linguistic ambiguity is a feature, not a bug. Successful systems do not simply guess a user's intent; instead, they employ Ambiguity Widgets—UI elements that allow users to clarify underspecified queries. Furthermore, the authors argue that multimodality is the gold standard. Systems that combine natural language with direct manipulation (like touch or pointing) often outperform NL-only interfaces by solving the "discoverability gap," where users are unsure of what they can ask a blank text box.

Future Frontiers

Despite rapid progress, several challenges remain:

  • Domain Knowledge: Current systems often lack the "common sense" to understand that "age" and "birth year" are related or to recognize specific domain terminology.
  • Beyond 2D: Most research is limited to standard charts. There is a significant opportunity for V-NLIs in 3D environments, network graphs, and immersive analytics (AR/VR).
  • Closing the Loop: While NL is used to create charts, using Natural Language Generation (NLG) to automatically explain or narrate them is the next major frontier for automated data storytelling.

Summary updated

BibTeX
@article{shen2021towards,
  author = {Leixian Shen and Enya Shen and Yuyu Luo and Xiaocong Yang and Xuming Hu and Xiongshuai Zhang and Zhiwei Tai and Jianmin Wang},
  title = {{Towards Natural Language Interfaces for Data Visualization: A Survey}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2021},
  doi = {10.1109/tvcg.2022.3148007},
}
Figure