Abstract
Natural language and visualization are two complementary modalities of human communication that play a crucial role in conveying information effectively. While visualizations help people discover trends, patterns, and anomalies in data, natural language descriptions help explain these insights. Thus, combining text with visualizations is a prevalent technique for effectively delivering the core message of the data. Given the rise of natural language generation (NLG), there is a growing interest in automatically creating natural language descriptions for visualizations, which can be used as chart captions, answering questions about charts, or telling data-driven stories. In this survey, we systematically review the state of the art on NLG for visualizations and introduce a taxonomy of the problem. The NLG tasks fall within the domain of Natural Language Interfaces (NLI) for visualization, an area that has garnered significant attention from both the research community and industry. To narrow down the scope of the survey, we primarily concentrate on the research works that focus on text generation for visualizations. To characterize the NLG problem and the design space of proposed solutions, we pose five Wh-questions, why and how NLG tasks are performed for visualizations, what the task inputs and outputs are, as well as where and when the generated texts are integrated with visualizations. We categorize the solutions used in the surveyed papers based on these "five Wh-questions." Finally, we discuss the key challenges and potential avenues for future research in this domain.
Introduction
While the adage "a picture is worth a thousand words" holds true for many data scenarios, visualizations often require textual context to be fully understood. Text directs a reader's focus, explains outliers, and provides domain-specific insights that a raw chart might miss. However, manually writing these descriptions is time-consuming and does not scale with the increasing complexity and volume of data.
Natural Language Generation (NLG) for visualizations addresses this by automatically "reading" a chart and explaining it in plain English. This field sits at the intersection of Data Visualization (VIS), Natural Language Processing (NLP), and Human-Computer Interaction (HCI). The primary challenge for NLG systems is two-fold: understanding the visual encodings (how data is mapped to visual elements like bars or lines) and interpreting the underlying data itself.
A Unified Taxonomy for NLG in Visualizations
To organize the research in this emerging field, this paper introduces a taxonomy based on five "Wh-questions." This framework categorizes the design space of proposed solutions and identifies current research trends.
- Why? (Tasks): Defines the goal, such as chart summarization, answering specific questions (ChartQA), or long-form visual storytelling.
- What? (Inputs/Outputs): Examines whether the model processes raw bitmap images, data tables, or metadata (scene graphs), and whether the output is pure text, audio, or an annotated visualization.
- How? (Methods): Categorizes techniques ranging from rigid but reliable rule-based templates to flexible, modern deep learning models like Transformers.
- Where? (Placement): Looks at the spatial integration of text, such as separate captions, internal annotations, or interactive links.
- When? (Temporal Organization): Considers if information is presented in a linear narrative sequence or a non-linear, reader-driven exploration.
Datasets and Benchmarking
The survey highlights several key benchmarks that have driven progress in the field. Chart-to-Text and ChartSumm provide large-scale datasets for training models on tens of thousands of chart-summary pairs. Newer datasets like VisText focus on "semantically rich" captions that go beyond basic descriptions to include higher-level perceptual trends. However, a significant limitation remains: most current datasets are dominated by simple bar and line charts, leaving complex visualizations like heatmaps or radar charts under-represented.
Semantic Depth and Spatial Integration
A critical insight from the survey is the classification of text into four levels of semantics. Most current AI systems operate at Level 1 (basic visual descriptions, e.g., "The blue bar is the tallest") or Level 2 (statistical summaries). Reaching Level 4, which involves providing domain context (e.g., "This dip was caused by the 2008 financial crisis"), remains a significant challenge.
Furthermore, there is a notable "integration gap." While progress has been made in generating text, few systems successfully link that text back to the visual elements of the chart. Most outputs remain separate entities, forcing the reader to manually map the text to the visualization.
Challenges and Future Directions
The field of NLG for visualizations faces several hurdles that define the roadmap for future research:
- Fact-Checking: There is a dire need for verification layers to prevent models from "hallucinating" incorrect values or trends.
- Complex Dashboards: Research must move beyond single charts to describe multi-view dashboards where data is coordinated across several visualizations.
- Human-in-the-Loop: Future systems should allow users to interactively refine generated text, such as requesting a focus on specific outliers or trends.
- Accessibility: NLG serves as a transformative technology for screen-reader users, and future work should prioritize turning visual-only information into navigable, accessible summaries.
Summary updated