PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 13, 2020IEEE Transactions on Visualization and Computer Graphics210 citationsOpen Access

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

ANArpit NarechaniaASArjun SrinivasanJSJohn Stasko

Key Points

  • The aim is to provide a toolkit that simplifies the integration of natural language queries into data visualization processes.
  • Developed a Python package for natural language-driven data visualization.
  • Input includes a tabular dataset and a natural language query.
  • Output is an analytic specification in JSON format with data attributes and Vega-Lite specifications.
  • Demonstrated usage of NL4DV through rendering visualizations in Jupyter notebooks.
  • Enabled development of a natural language interface for specifying and editing Vega-Lite charts.
  • Incorporated speech input for a multimodal visualization system.

Abstract

Natural language interfaces (NLls) 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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Narechania et al. (2020) studied this question.

synapsesocial.com/papers/6a0894ca1e8b9db648de191ehttps://doi.org/10.1109/tvcg.2020.3030378
Ask AI
Helpful
Bookmark
Share
View Full Paper