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

08/24/2020
by   Arpit Narechania, et al.
0

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.

READ FULL TEXT
research
07/01/2022

Facilitating Conversational Interaction in Natural Language Interfaces for Visualization

Natural language (NL) toolkits enable visualization developers, who may ...
research
05/07/2020

Quda: Natural Language Queries for Visual Data Analytics

Visualization-oriented natural language interfaces (V-NLIs) have been ex...
research
09/02/2022

Type-Directed Synthesis of Visualizations from Natural Language Queries

We propose a new technique based on program synthesis for automatically ...
research
09/29/2021

Reflexivity in Issues of Scale and Representation in a Digital Humanities Project

In this paper, we explore issues that we have encountered in developing ...
research
09/19/2023

Natural Language Dataset Generation Framework for Visualizations Powered by Large Language Models

We introduce a Large Language Model (LLM) framework that generates rich ...
research
11/28/2019

Words of Estimative Correlation: Studying Verbalizations of Scatterplots

Multimodal approaches where interactive visualization and natural langua...
research
08/02/2019

FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System

Dataflow visualization systems enable flexible visual data exploration b...

Please sign up or login with your details

Forgot password? Click here to reset