JSON to chart

Input
Output

JSON to Chart

Chart the numbers in an array of JSON objects as bars, lines, a pie or a scatter plot. Bracely picks sensible fields, and you can choose your own.

Example: orders and returns by month

Four records with a month and two numbers. Bracely puts the text field on the X axis and charts both numbers, one bar each, without any settings:

Input

[
  {
    "month": "Jul",
    "orders": 120,
    "returns": 9
  },
  {
    "month": "Aug",
    "orders": 180,
    "returns": 14
  },
  {
    "month": "Sep",
    "orders": 150,
    "returns": 6
  },
  {
    "month": "Oct",
    "orders": 240,
    "returns": 11
  }
]

Output

ordersreturns
050100150200250JulAugSepOct

How do I use the JSON to chart?

  1. Paste an array of objects.
  2. Pick bar, line, pie or scatter.
  3. Save the chart as SVG, PNG or JPEG.

What does the JSON to chart do?

  • Fields chosen automatically
  • Bar, line, pie and scatter
  • Export as an image

When to use the JSON to chart

Sometimes a quick picture says more than a table: monthly totals, response times by endpoint, counts by status. Paste an array of records and Bracely draws it at once, with no spreadsheet and no chart library, and you can save it as SVG for docs or PNG or JPEG for slides and chat.

Bracely picks the fields: a text or date field goes on the X axis and every number field becomes a series, as in the example above. Type field names in X and Y to choose your own, or a path in Array when the records sit inside a response. Bar and line charts show several series side by side, a pie shows one series as slices, and a scatter plots one number against another.

Frequently asked questions

Which chart type should I pick?
Bars for comparing categories, lines for values over time, a pie for parts of one total with few slices, and scatter to see whether two numbers move together.
Can I save the chart?
Yes. Set Save as to SVG, PNG or JPEG. SVG stays sharp at any size and can be edited; PNG and JPEG are easier to paste into slides and chat apps.
Can I choose the X and Y fields?
Yes. Type the field names in X and Y.
Is my data uploaded?
No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.

More JSON tools

Bracely has 108 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram