Lune

IEEE VIS2021Top-tier venue

Natural Language to Visualization by Neural Machine Translation

Yuyu Luo, Nan Tang, Guoliang Li, Jiawei Tang, Chengliang Chai, Xuedi Qin

Abstract

Supporting the translation from natural language (NL) query to visualization (NL2VIS) can simplify the creation of data visualizations because if successful, anyone can generate visualizations by their natural language from the tabular data. The state-of-the-art NL2VIS approaches (e.g., NL4DV and FlowSense) are based on semantic parsers and heuristic algorithms, which are not end-to-end and are not designed for supporting (possibly) complex data transformations. Deep neural network powered neural machine translation models have made great strides in many machine translation tasks, which suggests that they might be viable for NL2VIS as well. In this paper, we present ncNet, a Transformer-based sequence-to-sequence model for supporting NL2VIS, with several novel visualization-aware optimizations, including using attention-forcing to optimize the learning process, and visualization-aware rendering to produce better visualization results. To enhance the capability of machine to comprehend natural language queries, ncNet is also designed to take an optional chart template (e.g., a pie chart or a scatter plot) as an additional input, where the chart template will be served as a constraint to limit what could be visualized. We conducted both quantitative evaluation and user study, showing that ncNet achieves good accuracy in the nvBench benchmark and is easy-to-use.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

33 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Automated Data Visualization from Natural Language via Large Language Models: An Exploratory Study cites Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks
  • HAIChart: Human and AI Paired Visualization System cites Interactive Cleaning for Progressive Visualization through Composite Questions
  • HAIChart: Human and AI Paired Visualization System cites Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks
  • Collecting and Characterizing Natural Language Utterances for Specifying Data Visualizations cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
  • Towards Natural Language-Based Visualization Authoring cites Collecting and Characterizing Natural Language Utterances for Specifying Data Visualizations
  • Towards Natural Language-Based Visualization Authoring cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
  • Towards Natural Language-Based Visualization Authoring cites Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks
  • VisEval: A Benchmark for Data Visualization in the Era of Large Language Models cites Collecting and Characterizing Natural Language Utterances for Specifying Data Visualizations
  • VisEval: A Benchmark for Data Visualization in the Era of Large Language Models cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
  • VisEval: A Benchmark for Data Visualization in the Era of Large Language Models cites Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks
  • The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ] cites HAIChart: Human and AI Paired Visualization System
  • The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ] cites Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks
  • Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
  • Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL Benchmarks cites Interactive Cleaning for Progressive Visualization through Composite Questions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers33

  1. The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]Boyan Li, Yuyu Luo, Chengliang Chai, Guoliang Li et al.VLDB 2024 · 137 citations
  2. Towards Natural Language-Based Visualization AuthoringYun Wang, Zhitao Hou, Leixian Shen, Tongshuang Wu et al.IEEE VIS 2022 · 74 citations
  3. HAIChart: Human and AI Paired Visualization SystemYupeng Xie, Yuyu Luo, Guoliang Li, Nan TangVLDB 2024 · 47 citations
  4. Automated Data Visualization from Natural Language via Large Language Models: An Exploratory StudyYang Wu, Yao Wan, Hongyu Zhang, Yulei Sui et al.SIGMOD 2024 · 44 citations
  5. VisEval: A Benchmark for Data Visualization in the Era of Large Language ModelsNan Chen, Yuge Zhang, Jiahang Xu, Kan Ren et al.IEEE VIS 2024 · 44 citations

Builds on5

  1. NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language QueriesArpit Narechania, Arjun Srinivasan, John T. StaskoIEEE VIS 2020 · 210 citations
  2. Attention is Not Only a Weight: Analyzing Transformers with Vector NormsGoro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro InuiEMNLP 2020 · 138 citations
  3. Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL BenchmarksYuyu Luo, Nan Tang, Guoliang Li, Chengliang Chai et al.SIGMOD 2021 · 90 citations
  4. Collecting and Characterizing Natural Language Utterances for Specifying Data VisualizationsArjun Srinivasan, Nikhila Nyapathy, Bongshin Lee, Steven Mark Drucker et al.CHI 2021 · 55 citations
  5. Interactive Cleaning for Progressive Visualization through Composite QuestionsYuyu Luo, Chengliang Chai, Xuedi Qin, Nan Tang et al.ICDE 2020 · 37 citations

Related papers

  1. RGVisNet: A Hybrid Retrieval-Generation Neural Framework Towards Automatic Data Visualization GenerationYuanfeng Song, Xuefang Zhao, Raymond Chi-Wing Wong, Di JiangKDD 2022 · 28 citations
  2. Marrying Dialogue Systems with Data Visualization: Interactive Data Visualization Generation from Natural Language ConversationsYuanfeng Song, Xuefang Zhao, Raymond Chi-Wing WongKDD 2024 · 7 citations
  3. Type-directed synthesis of visualizations from natural language queriesQiaochu Chen, Shankara Pailoor, Celeste Barnaby, Abby Criswell et al.OOPSLA 2022 · 15 citations
  4. nvAgent: Automated Data Visualization from Natural Language via Collaborative Agent WorkflowGeliang Ouyang, Jingyao Chen, Zhihe Nie, Yi Gui et al.ACL 2025 · 22 citations
  5. Text2Vis: A Challenging and Diverse Benchmark for Generating Multimodal Visualizations from TextMizanur Rahman, Md. Tahmid Rahman Laskar, Shafiq Joty, Enamul HoqueEMNLP 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines