Imagine handing a coding assistant a figure from a scientific paper. It returns a Python script; the script runs; a picture appears. That is a promising start. But perhaps the legend has changed places, two panels have become one, or the right-looking bars contain the wrong values. Each error leaves a different kind of repair for the person who asked for help.
ChartMimic, developed by researchers at Tsinghua University and Tencent AI Lab, makes that repair work a subject of evaluation. Its February 2025 paper revision evaluates the journey from a reference image and instructions to executable plotting code.[1] The useful question is how faithfully the result carries the request through.
Keep the design, change the contents
The benchmark separates two requests. Direct Mimic asks for code that reproduces the supplied figure. Customized Mimic supplies new data in the instruction and asks the model to retain the reference's design while plotting those values.[1]
The dataset card makes the second request tangible. Its example, bar_5, supplies exercise categories, three experience levels, and numerical arrays for a grouped bar chart. It also specifies the output dimensions. The input image points to the direct-task folder; the expected result points to the customized-task folder. The reference and the answer are deliberately different artifacts.[3]
Those exercise values are benchmark inputs, not health advice. Their role is to remove ambiguity about which numbers the code should use. The model still has to connect each series to its label, preserve the arrangement, and fit the new contents into the visual design.
This is a recognizable request at a research desk: “Use this presentation, with my results.” A convincing imitation of the old bars could fail that request. Conversely, a plain but numerically correct plot could still leave substantial formatting work. Keeping both obligations visible makes the task more informative than a demonstration chosen merely because its output looks attractive.
Two kinds of evidence inside the score
ChartMimic combines a GPT-4o judgment of the rendered images with lower-level checks of text, layout, chart type, and color. Those checks trace code execution and compare the recorded elements; they do not compare source-code wording. The overall score gives half its weight to the image judgment and half to the average of the four element scores. Failed execution receives zero at both levels.[1]
The weighting matters. A reader who averages five displayed component scores equally would be calculating a different result. And a single overall number conceals whether a model is stronger at arranging panels, reproducing labels, or satisfying the visual judge.
The official repository exposes the stages separately: generate a response, execute its code, calculate the lower-level scores, then obtain the higher-level assessment.[2] That separation gives an evaluator useful places to look when a result changes. More successful executions and better-looking successful outputs are different improvements, even when both raise the final score.
For a practical review, I would retain the script and its rendered output together. Consider a plot whose labels and palette match beautifully but whose data arrays were transposed. The picture may make the mistake hard to notice; the code gives the reviewer another way to find it. A similarity assessment helps prioritize inspection, while the supplied data remain the authority for the values.
The benchmark name needs a version
The repository preserves two generations of evaluation data. Its legacy download has 500-example folders for each task and separate legacy metadata. The newer release contains direct_600, direct_1800, customized_600, and customized_1800. The instructions explicitly distinguish the downloads and warn users to select the legacy metadata for the old version.[2]
There is another naming wrinkle in the public dataset viewer. Hugging Face presents 4,800 rows under a single split called test, while the row-level Task field identifies folders such as direct_600.[3] A report should therefore name the selected task and subset, rather than rely on the viewer's broad split label. “We ran the test split” leaves too much room for different interpretations.
ChartMimic also appears in the Qwen team's November 26, 2025 technical report, where it sits in the multimodal coding evaluation alongside Design2Code and UniSVG.[4] That adoption shows the benchmark entering a major Chinese model developer's reporting. It does not make results from different dataset versions, prompts, or judging setups interchangeable.
My reading is that ChartMimic's enduring contribution is the inspectable chain between a visual request and a working artifact. A useful evaluation preserves that chain: the reference, the new data when supplied, the generated program, and the resulting picture. Then an improvement can mean something concrete—less reconstruction work left for the person who needs the figure.
Sources
- Cheng Yang et al., “ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generation” — February 28, 2025 revision; affiliations, task definitions, and evaluation metrics in Sections 2.1 and 2.4.
- ChartMimic authors, official repository — generation, execution and evaluation stages; current and legacy dataset layouts; accessed November 16, 2026.
- ChartMimic authors, official dataset release — viewer fields and the customized bar_5 example; accessed November 16, 2026.
- Qwen Team, “Qwen3-VL Technical Report” — November 26, 2025 version; Appendix A's multimodal coding benchmarks.
- Tsinghua Shenzhen International Graduate School, Yujiu Yang's official Chinese-language faculty page — institutional affiliation; accessed November 16, 2026.
- Huangdan2060, “Teaching Building of the Graduate School at Shenzhen, Tsinghua University1” — photograph dated October 3, 2016, Wikimedia Commons; CC BY 3.0.