index stringlengths 4 58 | image stringlengths 6.02k 1.85M | question stringclasses 60
values | answer stringlengths 7 61 | subject stringclasses 8
values | figure_type stringclasses 45
values | code_type stringclasses 5
values |
|---|---|---|---|---|---|---|
tree_17 | /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCAMWAk4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh... |
You are an expert in **Python data visualization** and proficient in multiple libraries (including Matplotlib, Seaborn, Plotly, Bokeh, Altair, etc.).
Your task is to analyze the provided image and write **complete Python code** to reproduce it visually using the **specified plotting library**.
### Analysis Phase
To e... | tree_17.py | Economics | Treemap | python |
box_13 | /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCAHqAk4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh... |
You are an expert in **Python data visualization** and proficient in multiple libraries (including Matplotlib, Seaborn, Plotly, Bokeh, Altair, etc.).
Your task is to analyze the provided image and write **complete Python code** to reproduce it visually using the **specified plotting library**.
### Analysis Phase
To e... | box_13.py | Computer Science | box-chart | python |
box_11 | /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCAGGAk4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh... |
You are an expert in **Python data visualization** and proficient in multiple libraries (including Matplotlib, Seaborn, Plotly, Bokeh, Altair, etc.).
Your task is to analyze the provided image and write **complete Python code** to reproduce it visually using the **specified plotting library**.
### Analysis Phase
To e... | box_11.py | Computer Science | box-chart | python |
tree_8 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | tree_8.py | Economics | Treemap | python |
tree_13 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | tree_13.py | Economics | Treemap | python |
tree_14 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | tree_14.py | Economics | Treemap | python |
area_10 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | area_10.py | Geography | Area | python |
area_5 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | area_5.py | Geography | Area | python |
bar_67 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | bar_67.py | Computer Science | bar-chart | python |
tree_18 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | "\nYou are an expert in **Python data visualization** and proficient in multiple libraries (includin(...TRUNCATED) | tree_18.py | Economics | Treemap | python |
Omni-I2C: Image2Code_Full
Dataset Description
Image2Code_Full.tsv is the inference split of the Omni-I2C benchmark. It is designed to evaluate whether multimodal models can generate high-fidelity code or structured outputs from input images.
Each sample contains an image, an instruction, and metadata describing the target task. The goal is to generate code or a structured string that can reproduce the original figure as accurately as possible.
- Number of samples: 1,080
- Number of subjects: 8
- Number of figure types: 45
- Number of code types: 5
Project repository: Omni-I2C on GitHub
Data Fields
The dataset is stored as a 7-column TSV file with the following header:
index image question answer subject figure_type code_type
| Field | Description |
|---|---|
index |
Unique sample identifier. |
image |
Input image stored as a base64-encoded string. |
question |
Instruction text for the generation task. |
answer |
Filename of the ground-truth reference file. This is not the full code content. |
subject |
Subject or application domain. |
figure_type |
Fine-grained figure category. |
code_type |
Target output format or code type. |
Task Description
This is an image-to-code inference dataset. Given an input image and an instruction, the model is expected to generate an executable, renderable, or otherwise structured output that reconstructs the original figure.
The answer field links each sample to its corresponding ground-truth file used in evaluation.
Supported Code Types
python
html-css
latex-tikz
svg
smiles
Sample Counts by Code Type
| code_type | Count | Extension |
|---|---|---|
python |
357 | .py |
latex-tikz |
265 | .tex |
svg |
192 | .svg |
html-css |
166 | .html |
smiles |
100 | .smi |
Subjects
Biology&Medicine
Chemistry
Computer Science
Economics
Geography
Math
Other
Physics
Figure Types
This split includes 45 figure types, including but not limited to:
3d-plot, Area, Contour, Density, Graph, Histogram, Phase-Diagram,
Quiver, Treemap, UML-class-diagram, Violin, analytical-geometry,
anatomy-diagram, atom-model, bar-chart, block-diagram, box-chart,
cell-structure, circuit, equations-texts, error-bar, error-point,
flow-chart, free-body-diagram, function-related, gauge-chart, graph,
heatmap, line-graph, magnetic-field-line, map, molecular-formula,
multi-graph, optics-ray-diagram, other-figures, physiological-process,
pie-chart, plane-geometry, radar-chart, relationship-diagram,
scatter-plot, schematic, solid-geometry, tables, venn-diagram
Usage
Within the Omni-I2C project, this file is used as the inference input to the evaluation pipeline:
VLMEvalKit_inferloadsImage2Code_Full.tsv- The model takes
imageandquestionas input - Predictions are saved after inference
eval_pipelinematches predictions with GT files for code-level and image-level evaluation
For implementation details, please refer to the project repository: https://github.com/MiliLab/Omni-I2C
Citation
If you find Omni-I2C helpful, please consider citing the following paper:
@inproceedings{Zhou2026OmniI2CAH,
title={Omni-I2C: A Holistic Benchmark for High-Fidelity Image-to-Code Generation},
author={Jiawei Zhou and Chi Zhang and Xiang Feng and Qiming Zhang and Haibo Qiu and Lihuo He and Dengpan Ye and Xinbo Gao and Jing Zhang},
year={2026},
url={https://api.semanticscholar.org/CorpusID:286643606}
}
- Downloads last month
- 29