ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoning

Ahmed Masry, Do Xuan Long, Jia Qing Tan, Shafiq Joty, Enamul Hoque
3/19/2022
2,058 citations
cs.CL
benchmark-dataset

Official code: vis-nlp/ChartQA (267 stars, Python, GPL-3.0, last commit 2025-04-18).

Abstract

Charts are very popular for analyzing data. When exploring charts, people often ask a variety of complex reasoning questions that involve several logical and arithmetic operations.

Show full abstract

They also commonly refer to visual features of a chart in their questions. However, most existing datasets do not focus on such complex reasoning questions as their questions are template-based and answers come from a fixed-vocabulary. In this work, we present a large-scale benchmark covering 9.6K human-written questions as well as 23.1K questions generated from human-written chart summaries. To address the unique challenges in our benchmark involving visual and logical reasoning over charts, we present two transformer-based models that combine visual features and the data table of the chart in a unified way to answer questions. While our models achieve the state-of-the-art results on the previous datasets as well as on our benchmark, the evaluation also reveals several challenges in answering complex reasoning questions.

View on arXivView PDF

Code Implementations(1)

vis-nlp/ChartQAOfficial100%
GPL-3.0
26728Python, Jupyter NotebookMar 7, 20221 years agoGPL-3.0

Similar Papers

Cite this paper

@article{masry2022chartqa,
  title  = {ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoning},
  author = {Ahmed Masry and Do Xuan Long and Jia Qing Tan and Shafiq Joty and Enamul Hoque},
  year   = {2022},
  eprint = {2203.10244},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10244}
}

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/2203.10244.svg)](https://codeofpaper.com/paper/2203.10244)

Discussion