This paper, published in EUROVIS 2022, provides a comprehensive survey of the emerging field of Natural Language Generation (NLG) for Visualizations. As data becomes more complex, the ability for AI to automatically "read" a chart and explain it in plain English is becoming a critical bridge between raw data and human understanding.
TL;DR
This paper systematically reviews how AI can automatically generate text—such as captions, summaries, and data-driven stories—from visualizations. By introducing a taxonomy based on five "Wh-questions" (Why, What, How, Where, and When), the authors categorize the current state of the art and identify critical gaps, such as the need for better fact-checking and support for complex dashboards.
What Problem Does This Paper Address?
While "a picture is worth a thousand words," visualizations often require textual context to be fully understood. Text helps direct 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 doesn't scale. The challenge for NLG is two-fold: the system must understand the visual encodings (how data is mapped to bars, lines, or colors) and the underlying data itself. This paper addresses the lack of a unified framework for this sub-field, which sits at the intersection of Data Visualization (VIS), Natural Language Processing (NLP), and Human-Computer Interaction (HCI).
Methods
The authors performed a systematic review of over 500 papers from the last 20 years, narrowing them down to 122 relevant works and 30 "core" papers. To organize this research, they proposed a Five Wh-questions Taxonomy:
- Why? (Tasks): Is the goal chart summarization, answering specific questions (ChartQA), or long-form storytelling?
- What? (Inputs/Outputs): Does the model take a raw bitmap image, a data table, or a "scene graph" (metadata about the chart)? Does it output just text, or an annotated visualization?
- How? (Methods): Is it using Rule-based templates (reliable but rigid) or Deep Learning (flexible but prone to errors)?
- Where? (Placement): Is the text a separate caption, an annotation inside the chart, or interactively linked?
- When? (Temporal Organization): Is the information presented in a linear sequence (like a slideshow) or a non-linear, reader-driven exploration?
Datasets
The paper highlights several key benchmarks used to train and evaluate these models:
- Chart-to-Text [KLL*22]: One of the largest, featuring over 44,000 chart-summary pairs across various types (Bar, Line, Pie, etc.).
- ChartSumm [RHAF*23]: A massive dataset of over 84,000 pairs.
- VisText [TBS23]: Focuses on "semantically rich" captions, including higher-level perceptual trends.
- LineCAP [MKT22]: Specifically for line charts.
- OpenCQA [KDL*22]: A dataset for open-ended question answering about charts.
The authors note a significant limitation: most datasets are dominated by simple bar and line charts, leaving more complex visualizations (like heatmaps or radar charts) under-represented.
Key Insights and Ideas
- The Four Levels of Semantics: The authors use a framework to show that text isn't just "text." It ranges from Level 1 (basic visual descriptions, e.g., "The blue bar is tall") to Level 4 (domain context, e.g., "This dip was caused by the 2008 financial crisis"). Most current AI is stuck at Levels 1 and 2.
- The "Bitmap" Hurdle: Models that take raw images (bitmaps) as input face a much harder task than those with access to the raw data table. They must perform OCR and visual feature extraction before they can even begin to "understand" the data.
- Hallucinations and Bias: A major "aha" moment is the discussion on model bias. For example, an LLM might see a dip in a 2020 chart and automatically attribute it to COVID-19, even if the data doesn't support that conclusion.
- Accessibility as a Driver: NLG isn't just for convenience; it is a transformative technology for screen-reader users, turning visual-only information into accessible, navigable summaries.
Key Results
- Evolution of Methods: The field has rapidly shifted from template-based systems (2000s-2010s) to Transformer-based models like T5 and GPT-4.
- Integration Gaps: Despite progress in generating text, very few systems successfully link that text back to the chart. Most outputs are "separate entities," forcing the reader to mentally map the text to the visual elements.
- State of Storytelling: Automatic data storytelling is still in its infancy. While AI can find "data facts," it struggles to weave them into a compelling, coherent narrative with a clear beginning, middle, and end.
Limitations and Future Work
- Fact-Checking: There is a dire need for "fact-checking" layers to prevent AI from hallucinating incorrect values or trends.
- Beyond Single Charts: Most research focuses on one chart at a time. Real-world data analysis happens in dashboards with multiple coordinated views, which NLG currently struggles to describe.
- Human-in-the-Loop: Future systems should allow users to provide feedback (e.g., "Focus on the outliers") to refine the generated text in real-time.
- Diverse Chart Types: We need benchmarks for less common but important visualizations like box plots, treemaps, and geographic maps.
Summary updated