Papers › Generating Statistical Charts with Validation-Driven LLM Workflows

Generating Statistical Charts with Validation-Driven LLM Workflows

1 May 2026arXiv:2605.00800added by Syntology

Pavlin G. Poličar, Andraž Pevcin, Blaž Zupan

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Generating diverse, readable statistical charts from tabular data remains challenging for LLMs, as many failures become apparent after rendering and are not detectable from data or code alone. Existing chart datasets also rarely provide fully aligned artifacts, such as executable code, dataset context, and question-answer pairs. We present a structured LLM-based workflow that decomposes chart generation into dataset screening, plot proposal, code synthesis, rendering, validation-driven refinement, description generation, and question-answer generation. By incorporating rendered-output validation, the workflow addresses visualization-specific failure modes such as readability and semantic mismatch. It treats chart generation as an inspectable process rather than a one-shot prompt-to-code task, retaining each chart with its code, dataset context, description, and question-answer pairs. Applied to UCI datasets, the workflow produces 1,500 charts from 74 datasets, spanning 24 chart families and paired with 30,003 question-answer pairs. We evaluate 16 multimodal LLMs (MLLMs) on these chart-question pairs. The results show that chart-syntax questions are nearly saturated, while value extraction, comparison, and reasoning remain more challenging, illustrating the workflow's utility for diagnostic studies of chart-grounded multimodal reasoning.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.00800")

Code

Syntology Ran 15 of 16 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 15 ran with no contract checked.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pavlin-policar/llm-chart-generation found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 15 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15ran
1unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pavlin-policar/llm-chart-generation. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

after_think pavlin-policar/llm-chart-generation/generation_pipeline/add_question_types.py found in paper text by Syntology ran BSD-3-Clause (permissive) · be718bc45dd7129d · report
choose_code pavlin-policar/llm-chart-generation/generation_pipeline/render_chart_from_metadata.py found in paper text by Syntology ran BSD-3-Clause (permissive) · c3b08adda222c442 · report
clip_loss pavlin-policar/llm-chart-generation/generation_pipeline/model_scripts/0_train_vit_clip.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 89367cb0848f8519 · report
collate_multicrop pavlin-policar/llm-chart-generation/generation_pipeline/model_scripts/0_train_vit.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 588c8b6aeafc92dc · report
cosine_schedule pavlin-policar/llm-chart-generation/generation_pipeline/model_scripts/0_train_vit.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 58c569e50e886778 · report
estimate_openai_image_tokens pavlin-policar/llm-chart-generation/generation_pipeline/evaluation_online.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 8068563543683978 · report
estimate_tokens pavlin-policar/llm-chart-generation/generation_pipeline/evaluation_online.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · c06cfd129bafce2f · report
format_messages pavlin-policar/llm-chart-generation/generation_pipeline/evaluation_job.py found in paper text by Syntology ran BSD-3-Clause (permissive) · bf94a8cff30d8e3f · report
format_messages_check pavlin-policar/llm-chart-generation/generation_pipeline/evaluation_job.py found in paper text by Syntology ran BSD-3-Clause (permissive) · d6460313c1aa38a0 · report
load_metadata_entry pavlin-policar/llm-chart-generation/generation_pipeline/render_chart_from_metadata.py found in paper text by Syntology ran BSD-3-Clause (permissive) · bd1a1c07fd76847e · report
make_collate pavlin-policar/llm-chart-generation/generation_pipeline/model_scripts/1_train_connector.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 20eab8fdd8345186 · report
parse_column_overrides pavlin-policar/llm-chart-generation/generation_pipeline/render_chart_from_metadata.py found in paper text by Syntology ran BSD-3-Clause (permissive) · af5d4f21e00f8ae1 · report
pick_random_dataset_id pavlin-policar/llm-chart-generation/generation_pipeline/generation_job.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 59b4251a6a836a43 · report
quality_to_dict pavlin-policar/llm-chart-generation/generation_pipeline/generation_job.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 1ee65a1cee1cbdf3 · report
split_think pavlin-policar/llm-chart-generation/generation_pipeline/evaluation_job.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 3adcca8a82aff44c · report
canonicalize_chart_type pavlin-policar/llm-chart-generation/dataset-viewer/local/chart_types.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 7d9d4bbb77408baa · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.00800, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections