Chart to data: get the numbers behind a chart

Webcite reads a chart in a PDF or image and returns its values as a table you can copy. Below is a saved read of Figure 1 of the Census Bureau report Income in the United States: 2023: 24 rows, each with a median income, a percent change and whether the change is statistically significant, recorded on 25 November 2026 for 0.5558 credits.

Last updated

The saved chart read

The chart was a dot plot of median incomes beside a bar chart of changes, with filled bars for significant changes. The read returned this table; open the chart to compare.

Values Webcite read from the chart
Characteristic2023 Median Income ($)Change: 2022 to 2023Statistically Significant Change
ALL HOUSEHOLDS80,6104.0Yes
Type of Household
Family households102,8003.6Yes
Nonfamily households49,6005.0Yes
Race and Hispanic Origin of Householder
White84,6305.4Yes
White, not Hispanic89,0505.7Yes
Black56,4902.8No
Asian112,800-0.2No
Hispanic (any race)65,5400.4No
Age of Householder
Under 65 years92,4703.6Yes
65 years and older54,7104.6Yes
Nativity of Householder
Native-born81,7004.5Yes
Foreign-born73,360-1.1No
Region
Northeast86,2503.2Yes
Midwest81,0206.6Yes
South73,2803.3Yes
West88,2902.4No
Metropolitan Statistical Area (MSA) Status
Inside MSA83,5903.7Yes
Inside principal cities73,5401.1No
Outside principal cities90,1404.2Yes
Outside MSA62,5207.5Yes
Educational Attainment of Householder1
No high school diploma36,6201.1No
High school, no college55,8104.3Yes
Some college73,6103.1Yes
Bachelor's degree or higher126,8003.1Yes

Rows with only a name are the chart's group labels. The full saved response; the chart is on printed page 2 of the Census Bureau report, a U.S. government work in the public domain.

What the API returns

The chart comes back as a picture element: markdown holds the values as an HTML table, description says what the chart shows, and bbox places it on the page. The same table is in the page's markdown.

{
  "format": "png",
  "state": "complete",
  "units": [
    {
      "kind": "page",
      "index": 1,
      "reader": {
        "page_type": "scan"
      },
      "elements": [
        {
          "type": "picture",
          "bbox": [
            0.109,
            0.125,
            0.9,
            0.695
          ],
          "description": "Two-panel horizontal chart showing 2023 Median Income on the left as horizontal lines ending in teal dots with printed dollar amounts, and Change: 2022 to 2023 on the right as a horizontal bar chart centered on zero, where solid teal bars denote a statistically significant change and outlined white bars denote changes that are not statistically significant.",
          "markdown": "**2023 Median Income**\n**Change: 2022 to 2023**\nDenotes a statistically significant change\n\n<table><thead><tr><th>Characteristic</th><th>2023 Median Income ($)<..."
        }
      ]
    }
  ],
  "usage": {
    "credits": 0.5558,
    "pages": 1,
    "page_charges": [
      {
        "page": 1,
        "page_type": "scan",
        "credits": 0.5558
      }
    ]
  }
}

The element's markdown is cut at 160 characters here; nothing else is changed. The same chart read from the PDF page is in this saved response; that page's text layer also holds two words of hidden placeholder text, "dolor sit", which the read keeps.

Read your own chart

Your own files run on your account. After you sign in and create an API key, the command line returns the full response with the chart's table:

npx webcite login
npx webcite extract chart.png --json > chart.json

PDF pages and JPEG or PNG images are read the same way. The extraction quickstart has the request in curl and Python.

Sign in to read your chart

Use the values

  • Check quotes in a batch: confirm that a value you copied appears on the page it came from, for 1 credit a quote.
  • Compare figures: send values from several documents and get the ones that disagree.
  • The Free plan includes 100 credits a month; this read cost 0.5558.