Datasets:
File size: 2,305 Bytes
72ed24c 68ac6e5 72ed24c 68ac6e5 | 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 | ---
license: cc-by-4.0
pretty_name: WB-ChartExtract
task_categories:
- image-to-text
language:
- en
tags:
- chart-extraction
- chart-to-table
- charts
- vision-language
- data-extraction
size_categories:
- 1K<n<10K
---
# WB-ChartExtract
WB-ChartExtract is a benchmark for **chart-to-table extraction**: recovering the underlying
numerical table from a chart image. It accompanies the paper *Self-Ensembling
Vision-Language Models for Chart Data Extraction*.
It is built from [World Bank Open Data](https://databank.worldbank.org/) time series
(52 indicators, 218 countries, 65 years) and is designed to be more challenging than
existing benchmarks: charts contain on average **7× more datapoints than ChartQA**, print
**no value labels** (removing the OCR shortcut), and span **4 chart types × 4 rendering
libraries** with heavy stylistic variation.
- **Code:** https://github.com/tberkane/vlm-ensemble-chart
## Contents
The dataset contains 1,000 charts:
```
png/ # 1,000 chart images (1.png ... 1000.png)
tables/ # 1,000 ground-truth tables (1.csv ... 1000.csv)
metadata.json # per-image metadata
```
- **png/`<id>`.png** — the chart image.
- **tables/`<id>`.csv** — the clean ground-truth table. The first column is the year
(index); remaining columns are one series per country. Missing values are `nan`.
- **metadata.json** — a dict keyed by image filename with fields: `chart_type`
(`line` / `area` / `grouped_bar` / `stacked_bar`), `library` (`matplotlib` / `seaborn` /
`plotly` / `bokeh`), `countries`, `series_name`, `num_years`, and `subsampled`.
Chart type and library are assigned uniformly at random (≈62–63 charts per combination).
Within each chart, font, color palette, grid, line style, markers, transparency, and figure
size are randomized.
## Usage
```python
from huggingface_hub import snapshot_download
path = snapshot_download("tberkane/WB-ChartExtract", repo_type="dataset")
```
## License
Released under **CC BY 4.0**. Derived from World Bank Open Data, which is also CC BY 4.0.
## Citation
```bibtex
@inproceedings{berkane2026selfensembling,
title = {Self-Ensembling Vision-Language Models for Chart Data Extraction},
author = {Berkane, Thomas and Wang, Qianyi and Majumder, Maimuna S.},
year = {2026}
}
```
|