# Chart to data: get the numbers behind a chart

Canonical URL: https://webcite.co/tools/chart-to-data | Last updated: 2026-11-25

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.

## 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](https://webcite.co/samples/census-income-2023-figure-1.png) to compare.

| Characteristic | 2023 Median Income ($) | Change: 2022 to 2023 | Statistically Significant Change |
| --- | --- | --- | --- |
| ALL HOUSEHOLDS | 80,610 | 4.0 | Yes |
| Type of Household |  |  |  |
| Family households | 102,800 | 3.6 | Yes |
| Nonfamily households | 49,600 | 5.0 | Yes |
| Race and Hispanic Origin of Householder |  |  |  |
| White | 84,630 | 5.4 | Yes |
| White, not Hispanic | 89,050 | 5.7 | Yes |
| Black | 56,490 | 2.8 | No |
| Asian | 112,800 | -0.2 | No |
| Hispanic (any race) | 65,540 | 0.4 | No |
| Age of Householder |  |  |  |
| Under 65 years | 92,470 | 3.6 | Yes |
| 65 years and older | 54,710 | 4.6 | Yes |
| Nativity of Householder |  |  |  |
| Native-born | 81,700 | 4.5 | Yes |
| Foreign-born | 73,360 | -1.1 | No |
| Region |  |  |  |
| Northeast | 86,250 | 3.2 | Yes |
| Midwest | 81,020 | 6.6 | Yes |
| South | 73,280 | 3.3 | Yes |
| West | 88,290 | 2.4 | No |
| Metropolitan Statistical Area (MSA) Status |  |  |  |
| Inside MSA | 83,590 | 3.7 | Yes |
| Inside principal cities | 73,540 | 1.1 | No |
| Outside principal cities | 90,140 | 4.2 | Yes |
| Outside MSA | 62,520 | 7.5 | Yes |
| Educational Attainment of Householder1 |  |  |  |
| No high school diploma | 36,620 | 1.1 | No |
| High school, no college | 55,810 | 4.3 | Yes |
| Some college | 73,610 | 3.1 | Yes |
| Bachelor's degree or higher | 126,800 | 3.1 | Yes |

Rows with only a name are the chart's group labels. [The full saved response](https://webcite.co/samples/doc-census-chart-png.json); the chart is on printed page 2 of the [Census Bureau report](https://www2.census.gov/library/publications/2024/demo/p60-282.pdf), 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`.

```json
{
  "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](https://webcite.co/samples/census-income-2023-figure-1.pdf) is in [this saved response](https://webcite.co/samples/doc-census-chart.json); 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:

```bash
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](https://webcite.co/api-docs/extraction) has the request in curl and Python.

[Sign in to read your chart](https://webcite.co/signup)

## Use the values

- [Check quotes in a batch](https://webcite.co/api-docs/batch): confirm that a value you copied appears on the page it came from, for 1 credit a quote.
- [Compare figures](https://webcite.co/conflict-analysis-api): send values from several documents and get the ones that disagree.
- The Free plan includes 100 credits a month; this read cost 0.5558.
