Answering Questions about Charts and Generating Visual Explanations
Dae Hyun Kim, Enamul Hoque, Maneesh Agrawala
Abstract
People often use charts to analyze data, answer questions and explain their answers to others. In a formative study, we find that such human-generated questions and explanations commonly refer to visual features of charts. Based on this study, we developed an automatic chart question answering pipeline that generates visual explanations describing how the answer was obtained. Our pipeline first extracts the data and visual encodings from an input Vega-Lite chart. Then, given a natural language question about the chart, it transforms references to visual attributes into references to the data. It next applies a state-of-the-art machine learning algorithm to answer the transformed question. Finally, it uses a template-based approach to explain in natural language how the answer is determined from the chart's visual features. A user study finds that our pipeline-generated visual explanations significantly outperform in transparency and are comparable in usefulness and trust to human-generated explanations.
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.
29 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Natural Language-Based Visualization Authoring cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
- VoxLens: Making Online Data Visualizations Accessible with an Interactive JavaScript Plug-In cites Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content
- Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content cites NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language Queries
Cited by top-tier papers29
- NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language QueriesArpit Narechania, Arjun Srinivasan, John T. StaskoIEEE VIS 2020 · 210 citations
- Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic ContentAlan Lundgard, Arvind SatyanarayanIEEE VIS 2021 · 141 citations
- VoxLens: Making Online Data Visualizations Accessible with an Interactive JavaScript Plug-InAther Sharif, Olivia H. Wang, Alida T. Muongchan, Katharina Reinecke et al.CHI 2022 · 88 citations
- Towards Natural Language-Based Visualization AuthoringYun Wang, Zhitao Hou, Leixian Shen, Tongshuang Wu et al.IEEE VIS 2022 · 74 citations
- Kori: Interactive Synthesis of Text and Charts in Data DocumentsShahid Latif, Zheng Zhou, Yoon Kim, Fabian Beck et al.IEEE VIS 2021 · 69 citations
Related papers
- STL-CQA: Structure-based Transformers with Localization and Encoding for Chart Question AnsweringHrituraj Singh, Sumit ShekharEMNLP 2020 · 42 citations
- GVQA: Learning to Answer Questions about Graphs with Visualizations via Knowledge BaseSicheng Song, Juntong Chen, Chenhui Li, Changbo WangCHI 2023 · 13 citations
- FeVisQA: Free-Form Question Answering over Data VisualizationsYuanfeng Song, Jinwei Lu, Yuanwei Song, Caleb Chen Cao et al.ICDE 2025 · 2 citations
- Synthesize Step-by-Step: Tools, Templates and LLMs as Data Generators for Reasoning-Based Chart VQAZhuowan Li, Bhavan Jasani, Peng Tang, Shabnam GhadarCVPR 2024
- ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical ReasoningAhmed Masry, Do Xuan Long, Jia Qing Tan, Shafiq R. Joty et al.ACL Findings 2022 · 389 citations
