Datasets:
Tasks:
Image-to-Text
Modalities:
Image
Formats:
imagefolder
Size:
1K - 10K
ArXiv:
Tags:
Chart-Parsing
License:
File size: 4,081 Bytes
304c9e3 37deb8e f7c1801 37deb8e f7c1801 37deb8e f7c1801 37deb8e f7c1801 304c9e3 6795a3d 2903171 6795a3d f7c1801 c11c171 f7c1801 6795a3d 37deb8e 6795a3d 37deb8e 6795a3d 37deb8e 6795a3d f7c1801 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | ---
license: apache-2.0
task_categories:
- image-to-text
language:
- zh
- en
tags:
- Chart-Parsing
pretty_name: ChartArena
size_categories:
- 1K<n<10K
---
# ChartArena <!-- omit in toc -->
**A Comprehensive Bilingual Benchmark for General Chart Parsing across Families, Scenarios, and Formats**
<p align="center">
<a href="https://github.com/pspdada/ChartArena">Github Repo</a> •
<a href="https://arxiv.org/abs/2606.01348">Paper</a>
</p>
## Overview <!-- omit in toc -->
**ChartArena** is a bilingual benchmark for evaluating the **chart parsing** capabilities of vision-language models. It covers the full difficulty spectrum of real-world charts, spanning eight chart families across three visual scenarios and two languages.
<table align="center">
<p align="center">
<img src="docs/figures/ChartArena_overview.jpg" width="80%" />
</p>
</table>
## Contents <!-- omit in toc -->
- [Statistics](#statistics)
- [Dataset Structure](#dataset-structure)
- [Data Format](#data-format)
- [Usage](#usage)
- [Citation](#citation)
- [License](#license)
## Statistics
| Item | Details |
| ---------------- | --------------------------------------------------------------------- |
| Chart Families | 8 (bar, line, pie, radar, box plot, combination, flowchart, mind map) |
| Visual Scenarios | 3 (digital, printed, hand-drawn) |
| Languages | 2 (Chinese, English) |
Chart families
| Family | Bar | Line | Pie | Radar | Box Plot | Combination | Flowchart | Mind Map |
| -------- | ------- | ------- | ------- | ------- | -------- | ----------- | ------------ | ------------ |
| Category | Numeric | Numeric | Numeric | Numeric | Numeric | Numeric | Diagrammatic | Diagrammatic |
Visual scenarios
| Scenario | Description |
| ----------------- | ------------------------------------------ |
| Digital Rendering | Charts rendered directly as digital images |
| Printed Photo | Photos of printed charts |
| Hand-drawn Photo | Photos of hand-drawn charts |
Languages
Bilingual: **Chinese (ZH)** and **English (EN)**
## Dataset Structure
```
data/
├── ChartArena.jsonl # annotations for all samples
└── images/
```
## Data Format
Each line of `ChartArena.jsonl` is a JSON object:
```json
{
"img_path": "images/xxx.png",
"chart_type": "柱状图",
"img_type": "电子印刷",
"lang_type": "中文",
"anno": "..."
}
```
| Field | Type | Description |
| ------------ | ------ | ------------------------------------------------------------------------------------------------ |
| `img_path` | string | Relative path from `data/`; also serves as the unique sample key |
| `chart_type` | string | Chart family in Chinese (e.g. `柱状图` = bar, `流程图` = flowchart) |
| `img_type` | string | Visual scenario in Chinese (`电子印刷` = digital, `印刷照片` = printed, `手绘照片` = hand-drawn) |
| `lang_type` | string | Language of chart content (`中文` = Chinese, `英文` = English) |
| `anno` | string | Ground-truth annotation |
## Usage
Please refer to the [Github repository](https://github.com/pspdada/ChartArena) for inference and evaluation scripts.
```bash
# Quick start
git clone https://github.com/pspdada/ChartArena
cd ChartArena
pip install -r requirements.txt
# Run inference
python infer.py --api_type openai_compat --model_name <model> --base_url <url>
# Score
python judge.py
# Generate analysis report
python analyze.py
```
## Citation
```bibtex
% (coming soon)
```
## License
This dataset is released for **research purposes only**.
|