Chat2VIS: Generating Data Visualisations via Natural Language using ChatGPT, Codex and GPT-3 Large Language Models
Paula Maddigan, Teo Susnjak

TL;DR
This paper introduces Chat2VIS, a system that leverages large language models like ChatGPT and GPT-3 to generate data visualisations from natural language queries, improving accuracy and reducing development costs.
Contribution
It demonstrates how prompt engineering with LLMs can effectively convert natural language into visualisation code, surpassing traditional NLP methods and enhancing data security.
Findings
LLMs can accurately generate visualisations from natural language queries.
Prompt engineering significantly improves visualisation accuracy.
The approach reduces development costs for NLI systems.
Abstract
The field of data visualisation has long aimed to devise solutions for generating visualisations directly from natural language text. Research in Natural Language Interfaces (NLIs) has contributed towards the development of such techniques. However, the implementation of workable NLIs has always been challenging due to the inherent ambiguity of natural language, as well as in consequence of unclear and poorly written user queries which pose problems for existing language models in discerning user intent. Instead of pursuing the usual path of developing new iterations of language models, this study uniquely proposes leveraging the advancements in pre-trained large language models (LLMs) such as ChatGPT and GPT-3 to convert free-form natural language directly into code for appropriate visualisations. This paper presents a novel system, Chat2VIS, which takes advantage of the capabilities…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Explainable Artificial Intelligence (XAI) · Computational Physics and Python Applications
