NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
Open accessThe DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
WordNet: a lexical database for English
Miller, G. A. (1995) · Communications of the ACM · doi:10.1145/219717.219748 · Cited by 14,015 · cited 1×
“This score returns the distance between stemmed versions of p and a in the WordNet graph [35], and is a value in the range (0,1], with higher values implying greater similarity.”
BackgroundBostock, M., Ogievetsky, V., & Heer, J. (2011) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2011.185 · Cited by 3,165
Recent Trends in Deep Learning Based Natural Language Processing [Review Article]
Young, T., Hazarika, D., Poria, S., & Cambria, E. (2018) · IEEE Computational Intelligence Magazine · doi:10.1109/mci.2018.2840738 · Cited by 2,921
Vega-Lite: A Grammar of Interactive Graphics
Satyanarayan, A., Moritz, D., Wongsuphasawat, K., & Heer, J. (2017) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2016.2599030 · Cited by 883
Past, present, and future of user interface software tools
Myers, B., Hudson, S. E., & Pausch, R. (2000) · ACM Transactions on Computer-Human Interaction · doi:10.1145/344949.344959 · Cited by 808
Compositional Semantic Parsing on Semi-Structured Tables
Pasupat, P., & Liang, P. (2015) · Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.3115/v1/p15-1142 · Cited by 514
Protovis: A Graphical Toolkit for Visualization
Bostock, M., & Heer, J. (2009) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2009.174 · Cited by 321 · cited 1×
“Examples of such toolkits include Prefuse [19], Protovis [5], and D3 [6].”
BackgroundEviza: A Natural Language Interface for Visual Analysis
Setlur, V., Battersby, S. E., Tory, M., Gossweiler, R., & Chang, A. X. (2016) · Proceedings of the 29th Annual Symposium on User Interface Software and Technology · doi:10.1145/2984511.2984588 · Cited by 231
Task-based effectiveness of basic visualizations
Saket, B., Endert, A., & Demiralp, C. (2019) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2018.2829750 · Cited by 178
Cited by
Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Models
Liu, Y., Han, T., Ma, S., Zhang, J., Yang, Y., Tian, J., He, H., Li, A., He, M., Liu, Z., et al. (2023) · arXiv · doi:10.48550/arxiv.2304.01852 · Cited by 1,172
Summary of ChatGPT-Related research and perspective towards the future of large language models
Liu, Y., Han, T., Ma, S., Zhang, J., Yang, Y., Tian, J., He, H., Li, A., He, M., Liu, Z., et al. (2023) · Meta-Radiology · doi:10.1016/j.metrad.2023.100017 · Cited by 855
“In this paper,the reseachers compare the visualization results of GPT-3, Codex and ChatGPT in the case of nvBench SQLite database [59] and the visualization results of energy production dataset in the study of ADVISor with NL4DV [53; 67].”
MethodMaddigan, P., & Susnjak, T. (2023) · IEEE Access · doi:10.1109/access.2023.3274199 · Cited by 242
“Meanwhile, recent state-of-the-art studies like NL4DV [11] and FlowSense [22] using symbolic NLP approaches have relied on semantic parsers such as NLTK [6], NER, and Stanford CoreNLP [10], to automatically add layers of valuable semantic information, such as parts-of-speech (PoS) tagging and named entity recognition…”
BackgroundMethodInfluentialAccessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content
Lundgard, A., & Satyanarayan, A. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2021.3114770 · Cited by 155
Jung, C., Mehta, S., Kulkarni, A., Zhao, Y., & Kim, Y.-S. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2021.3114846 · Cited by 91
Jiang, E., Toh, E., Molina, A., Olson, K., Kayacik, C., Donsbach, A., Cai, C. J., & Terry, M. (2022) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3491102.3501870 · Cited by 79
“Interpreting natural language specifcations (or intent), in particular, has been a long-standing goal in the research community, with prior work demonstrating systems that can transform natural language descriptions to spreadsheet macros [26], shell scripts [31, 32], SQL queries [36], and data visualizations [34] (amo…”
BackgroundCollecting and Characterizing Natural Language Utterances for Specifying Data Visualizations
Srinivasan, A., Nyapathy, N., Lee, B., Drucker, S. M., & Stasko, J. (2021) · Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3411764.3445400 · Cited by 58
“To benchmark NL4DV’s performance, we configured NL4DV with the three datasets used for the study and executed the 755 singleton”
MethodInfluentialSelf-citationDATATALES: Investigating the use of Large Language Models for Authoring Data-Driven Articles
Sultanum, N., & Srinivasan, A. (2023) · 2023 IEEE Visualization and Visual Analytics (VIS) · doi:10.1109/vis54172.2023.00055 · Cited by 52
“, [8, 22]), we use a combination of dependency parsing and keyword matching to map phrases in a sentence to attributes and values in the visualized data.”
MethodSelf-citationInkSight: Leveraging Sketch Interaction for Documenting Chart Findings in Computational Notebooks
Lin, Y., Li, H., Yang, L., Wu, A., & Qu, H. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3327170 · Cited by 40
“For example, systems such as Text-to-Viz [15], FlowSense [55], GVQA [41] and NL4DV [32] apply a semantic parser to convert NL queries into visualization queries.”
MethodNarrative Player: Reviving Data Narratives With Visuals
Shao, Z., Shen, L., Li, H., Shan, Y., Qu, H., Wang, Y., & Chen, S. (2025) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2025.3530512 · Cited by 15
“Techniques range from translating natural language queries into visualization specifications [16, 38, 43] to enhancing user interaction through natural language and multimodal inputs [64,66].”
BackgroundGridBook: Natural Language Formulas for the Spreadsheet Grid
Srinivasa Ragavan, S., Hou, Z., Wang, Y., Gordon, A. D., Zhang, H., & Zhang, D. (2022) · 27th International Conference on Intelligent User Interfaces · doi:10.1145/3490099.3511161 · Cited by 15
Considering Visualization Example Galleries
Yang, J., McNutt, A. M., & Battle, L. (2024) · 2024 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc60511.2024.00043 · Cited by 11
“Similarly, this filters out natural language tools (e.g. NL4DV [39]) as well as partial-specification DSLs that operate over other DSLs (e.g. Draco [65]).”
BackgroundMultiagent Actor-Critic Generative AI for Query Resolution and Analysis
Ur Rahman, M. W., Nevarez, R., Mim, L. T., & Hariri, S. (2025) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2025.3544173 · Cited by 8
Foundation Model Assisted Visual Analytics: Opportunities and Challenges
Hutchinson, M., Jianu, R., Slingsby, A., & Madhyastha, P. (2025) · doi:10.2139/ssrn.5114734 · Cited by 13
Metadata
- Authors
- Narechania, A., Srinivasan, A., & Stasko, J.
- Venue
- IEEE Transactions on Visualization and Computer Graphics
- Published
- 2021-02
- Volume
- 27
- Issue
- 2
- Pages
- 369-379
- ISSN
- 1077-2626 (ISSN-L)
- 1941-0506
- 2160-9306
- OpenAlex
- W3081277912
- Cited by
- 208
- References
- 10
- FWCI
- 7.69
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.