HCAug 24, 2020

NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries

arXiv:2008.10723v3239 citations
Originality Synthesis-oriented
AI Analysis

This toolkit addresses the problem of simplifying the creation of natural language interfaces for data visualization for developers, though it is incremental as it builds on existing NLP and visualization techniques.

The authors tackled the challenge of developing natural language interfaces for data visualization by creating NL4DV, a toolkit that generates analytic specifications from natural language queries, enabling visualization developers without NLP expertise to build or enhance such interfaces.

Natural language interfaces (NLIs) have shown great promise for visual data analysis, allowing people to flexibly specify and interact with visualizations. However, developing visualization NLIs remains a challenging task, requiring low-level implementation of natural language processing (NLP) techniques as well as knowledge of visual analytic tasks and visualization design. We present NL4DV, a toolkit for natural language-driven data visualization. NL4DV is a Python package that takes as input a tabular dataset and a natural language query about that dataset. In response, the toolkit returns an analytic specification modeled as a JSON object containing data attributes, analytic tasks, and a list of Vega-Lite specifications relevant to the input query. In doing so, NL4DV aids visualization developers who may not have a background in NLP, enabling them to create new visualization NLIs or incorporate natural language input within their existing systems. We demonstrate NL4DV's usage and capabilities through four examples: 1) rendering visualizations using natural language in a Jupyter notebook, 2) developing a NLI to specify and edit Vega-Lite charts, 3) recreating data ambiguity widgets from the DataTone system, and 4) incorporating speech input to create a multimodal visualization system.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes