New Tool Radar

AI Concepts

How to Read Chart Values with a Vision Model and Check Them

Read chart values with a vision model and check them against the chart's own data table before using them.

Schematic illustration of read chart values with a vision model and check them: step one send the chart image, step two ask for the values, step three check the total.

A vision model can read the values off a chart image, which is useful when the chart is only available as a picture. But a model can misread a bar or swap two values, so the reading must be checked: ask for each value by label, add them up where a total is known, and compare the total with the chart’s own data table if you have it.

Prerequisites

  • A vision model that accepts image input.
  • A chart image with readable labels.
  • The chart’s data table, or a known total, to check against.

Steps

Step 1: Send the chart image

Send the chart image with a clear question: ‘Read the value for each quarter, labelled Q1 to Q4.’ Name the labels in the prompt, so the model reads each one instead of summarising the chart.

Step 2: Ask for the values

Ask for the values as a list, one per label, with the numbers only. A list is easier to check than a paragraph.

Step 3: Check the total

Add the values up and compare the sum with the known total from the data table. If the sum differs, one of the readings is wrong; re-read the chart yourself to find which one.

Worked example: Cedar Street Library quarterly visitors

The fictional Cedar Street Library has a bar chart of quarterly visitors. The data table says the yearly total is 590.

Quarter Model reads Data table Match
Q1 120 120 Yes
Q2 150 150 Yes
Q3 140 140 Yes
Q4 180 180 Yes
Total 590 590 Yes

The model reads 120, 150, 140 and 180, which add to 590, matching the data table total, so the reading is confirmed.

Expected result. The values read from the chart add up to the known total, and each value matches the data table. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.

Limits

  • A vision model can misread a bar height; always check against the data table when you have it.
  • A chart without a data table cannot be fully verified; treat the reading as an estimate.
  • This guide does not cover extracting data from a chart file.

Sources

See all