Text-to-TrajVis: Enabling Trajectory Data Visualizations from Natural Language Questions

Tian Bai, Huiyan Ying, Kailong Suo, Junqiu Wei, Tao Fan +1 more
4/23/2025
cs.CL

No confident code implementation found for this paper.

Abstract

This paper introduces the Text-to-TrajVis task, which aims to transform natural language questions into trajectory data visualizations, facilitating the development of natural language interfaces for trajectory visualization systems. As this is a novel task, there is currently no relevant dataset available in the community. To address this gap, we first devised a new visualization language called Trajectory Visualization Language (TVL) to facilitate querying trajectory data and generating visualizations. Building on this foundation, we further proposed a dataset construction method that integrates Large Language Models (LLMs) with human efforts to create high-quality data. Specifically, we first generate TVLs using a comprehensive and systematic process, and then label each TVL with corresponding natural language questions using LLMs. This process results in the creation of the first large-scale Text-to-TrajVis dataset, named TrajVL, which contains 18,140 (question, TVL) pairs. Based on this dataset, we systematically evaluated the performance of multiple LLMs (GPT, Qwen, Llama, etc.) on this task. The experimental results demonstrate that this task is both feasible and highly challenging and merits further exploration within the research community.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bai2025texttotrajvis,
  title  = {Text-to-TrajVis: Enabling Trajectory Data Visualizations from Natural Language Questions},
  author = {Tian Bai and Huiyan Ying and Kailong Suo and Junqiu Wei and Tao Fan and Yuanfeng Song},
  year   = {2025},
  eprint = {2504.16358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.16358v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.16358.svg)](https://codeofpaper.com/paper/2504.16358)

Discussion