JSON to chart.
Paste JSON and see it drawn: bar, horizontal bar, line, area, pie, KPI, table, markdown note, scatter, funnel, gauge, map, progress list, status grid, heatmap, waterfall, treemap and sankey. Edit any value and the chart follows. It all runs in your browser, so nothing you paste leaves it.
Change any number or label. The chart follows.
From JSON to a chart you can share.
Pick a chart type
Each tab starts with an example document for that chart.
Paste your JSON
The chart redraws as you type. If a field is wrong, the message names it.
Keep it
Create a free dashboard and paste the same JSON into a visual, or import a whole dashboard at once with Import JSON. Then publish a link or share it by email.
The JSON each chart takes.
Every chart type has a short, fixed shape. These are the examples from the editor above: copy one, change the labels and numbers, and it is yours.
Bar Vertical bars, grouped or stacked.
{ "orientation": "vertical", "mode": "stacked", "xKey": "month", "series": [ { "key": "pro", "label": "Pro" }, { "key": "team", "label": "Team" } ], "data": [ { "month": "May", "pro": 4200, "team": 1800 }, { "month": "Jun", "pro": 4650, "team": 2100 }, { "month": "Jul", "pro": 5100, "team": 2350 }, { "month": "Aug", "pro": 5480, "team": 2900 }, { "month": "Sep", "pro": 6020, "team": 3300 }, { "month": "Oct", "pro": 6710, "team": 3650 } ] }Horizontal bar The same bars, drawn sideways.
{ "orientation": "horizontal", "mode": "grouped", "xKey": "team", "series": [ { "key": "spend", "label": "Spend" } ], "data": [ { "team": "Marketing", "spend": 18400 }, { "team": "Sales", "spend": 12900 }, { "team": "Support", "spend": 7600 }, { "team": "Product", "spend": 9800 } ] }Line A line across categories: linear, smooth, or stepped.
{ "xKey": "day", "curve": "monotone", "series": [ { "key": "signups", "label": "Signups" } ], "data": [ { "day": "Mon", "signups": 31 }, { "day": "Tue", "signups": 42 }, { "day": "Wed", "signups": 38 }, { "day": "Thu", "signups": 55 }, { "day": "Fri", "signups": 49 }, { "day": "Sat", "signups": 61 }, { "day": "Sun", "signups": 72 } ] }Area A filled line, separate or stacked.
{ "xKey": "week", "curve": "monotone", "stacked": true, "series": [ { "key": "returning", "label": "Returning" }, { "key": "new", "label": "New" } ], "data": [ { "week": "W30", "returning": 820, "new": 210 }, { "week": "W31", "returning": 870, "new": 240 }, { "week": "W32", "returning": 905, "new": 228 }, { "week": "W33", "returning": 960, "new": 262 }, { "week": "W34", "returning": 1010, "new": 255 }, { "week": "W35", "returning": 1085, "new": 301 }, { "week": "W36", "returning": 1120, "new": 268 }, { "week": "W37", "returning": 1190, "new": 335 }, { "week": "W38", "returning": 1262, "new": 318 }, { "week": "W39", "returning": 1330, "new": 342 } ] }Pie Slices of a whole, or a donut.
{ "nameKey": "source", "valueKey": "signups", "donut": true, "data": [ { "source": "Search", "signups": 142 }, { "source": "Newsletter", "signups": 88 }, { "source": "Referral", "signups": 61 }, { "source": "Social", "signups": 34 } ] }KPI One formatted number.
{ "label": "MRR", "value": 12840, "format": "number", "prefix": "$", "delta": 0.12, "deltaFormat": "percent", "deltaLabel": "vs last month" }Table Rows and columns of text or numbers.
{ "columns": [ { "key": "channel", "label": "Channel", "align": "left", "format": "text" }, { "key": "bookings", "label": "Bookings", "align": "right", "format": "number" } ], "data": [ { "channel": "Search", "bookings": 142 }, { "channel": "Social", "bookings": 88 }, { "channel": "Referral", "bookings": 61 }, { "channel": "Maps", "bookings": 34 } ] }Markdown A note.
{ "source": "**What changed this week**\n\n- Email backlog cleared\n- Chat carries most volume" }Scatter Points on two numeric axes.
{ "xKey": "price", "yKey": "orders", "labelKey": "plan", "data": [ { "price": 5, "orders": 410, "plan": "Starter" }, { "price": 9, "orders": 362, "plan": "Basic" }, { "price": 12, "orders": 298, "plan": "Plus" }, { "price": 19, "orders": 240, "plan": "Pro" }, { "price": 24, "orders": 152, "plan": "Team" }, { "price": 29, "orders": 131, "plan": "Studio" }, { "price": 39, "orders": 74, "plan": "Agency" } ] }Funnel Horizontal bars in the order you list them, not sorted.
{ "nameKey": "stage", "valueKey": "people", "data": [ { "stage": "Visits", "people": 4210 }, { "stage": "Trials", "people": 1032 }, { "stage": "Activated", "people": 611 }, { "stage": "Paid", "people": 148 } ] }Gauge A semicircle between a minimum and a maximum.
{ "label": "of this month's minutes", "value": 72, "min": 0, "max": 100, "suffix": "%" }World map Countries coloured by value, with a tooltip.
{ "region": "world", "idKey": "country", "valueKey": "signups", "format": "number", "data": [ { "country": "US", "signups": 412 }, { "country": "GB", "signups": 138 }, { "country": "DE", "signups": 96 }, { "country": "IN", "signups": 87 }, { "country": "CA", "signups": 64 }, { "country": "BR", "signups": 41 }, { "country": "AU", "signups": 33 }, { "country": "JP", "signups": 19 } ] }US states map The 50 states and DC, coloured by value.
{ "region": "us-states", "idKey": "state", "valueKey": "customers", "format": "number", "data": [ { "state": "CA", "customers": 1240 }, { "state": "TX", "customers": 980 }, { "state": "NY", "customers": 870 }, { "state": "FL", "customers": 610 }, { "state": "WA", "customers": 420 } ] }Progress list Several goals, each against its own target.
{ "nameKey": "project", "valueKey": "done", "maxKey": "total", "format": "number", "rules": [ { "below": 0.5, "status": "bad" }, { "below": 0.9, "status": "warn" }, { "atLeast": 0.9, "status": "good" } ], "data": [ { "project": "Website", "done": 34, "total": 40 }, { "project": "Mobile app", "done": 12, "total": 30 }, { "project": "Docs", "done": 22, "total": 20 } ] }Status grid One cell per item: good, warn or bad.
{ "nameKey": "site", "statusKey": "patch", "statuses": { "Patched": "good", "Pending": "warn", "Not patched": "bad" }, "noteKey": "version", "hrefKey": "admin", "data": [ { "site": "shop.example.com", "patch": "Patched", "version": "6.4.2", "admin": "https://shop.example.com/wp-admin" }, { "site": "blog.example.com", "patch": "Not patched", "version": "6.1.0", "admin": "https://blog.example.com/wp-admin" } ] }Heatmap Two categories, such as weekday by hour, coloured by value.
{ "layout": "grid", "xKey": "hour", "yKey": "day", "valueKey": "kwh", "suffix": " kWh", "data": [ { "day": "Mon", "hour": "07", "kwh": 1.4 }, { "day": "Mon", "hour": "08", "kwh": 0.9 } ] }Calendar heatmap One cell per day, a year at a glance.
{ "layout": "calendar", "dateKey": "date", "valueKey": "minutes", "suffix": " min", "data": [ { "date": "2026-10-28", "minutes": 20 }, { "date": "2026-10-29", "minutes": 55 }, { "date": "2026-10-30", "minutes": 35 }, { "date": "2026-10-31", "minutes": 70 }, { "date": "2026-11-01", "minutes": 50 }, { "date": "2026-11-02", "minutes": 10 }, { "date": "2026-11-03", "minutes": 45 }, { "date": "2026-11-04", "minutes": 45 }, { "date": "2026-11-05", "minutes": 25 }, { "date": "2026-11-06", "minutes": 60 }, { "date": "2026-11-07", "minutes": 40 }, { "date": "2026-11-08", "minutes": 20 }, { "date": "2026-11-09", "minutes": 35 }, { "date": "2026-11-10", "minutes": 15 }, { "date": "2026-11-11", "minutes": 70 }, { "date": "2026-11-12", "minutes": 50 }, { "date": "2026-11-13", "minutes": 30 }, { "date": "2026-11-14", "minutes": 65 }, { "date": "2026-11-15", "minutes": 45 }, { "date": "2026-11-16", "minutes": 5 }, { "date": "2026-11-17", "minutes": 40 }, { "date": "2026-11-18", "minutes": 40 }, { "date": "2026-11-19", "minutes": 20 }, { "date": "2026-11-20", "minutes": 55 }, { "date": "2026-11-21", "minutes": 35 }, { "date": "2026-11-22", "minutes": 70 }, { "date": "2026-11-23", "minutes": 30 }, { "date": "2026-11-24", "minutes": 10 } ] }Waterfall How a starting amount becomes an ending one, step by step.
{ "nameKey": "step", "valueKey": "amount", "totalKey": "isTotal", "prefix": "$", "data": [ { "step": "Start MRR", "amount": 12000, "isTotal": true }, { "step": "New", "amount": 2400 }, { "step": "Expansion", "amount": 600 }, { "step": "Churn", "amount": -900 }, { "step": "End MRR", "isTotal": true } ] }Treemap Shares of a whole as rectangles, for more items than a pie can hold.
{ "nameKey": "merchant", "valueKey": "spent", "groupKey": "category", "prefix": "$", "data": [ { "category": "Home", "merchant": "Rent", "spent": 1800 }, { "category": "Food", "merchant": "Grocer", "spent": 420 }, { "category": "Food", "merchant": "Cafe", "spent": 220 } ] }Sankey Amounts flowing from one set of items to the next.
{ "sourceKey": "from", "targetKey": "to", "valueKey": "amount", "prefix": "$", "data": [ { "from": "Salary", "to": "Budget", "amount": 5200 }, { "from": "Side job", "to": "Budget", "amount": 800 }, { "from": "Budget", "to": "Rent", "amount": 1800 }, { "from": "Budget", "to": "Food", "amount": 900 }, { "from": "Budget", "to": "Savings", "amount": 1500 } ] }
Send new JSON from your code.
On a dashboard, every chart has its own URL. One PUT from a script, a cron job or a CI step replaces its JSON, and open copies of the page catch up within 15 seconds.
curl -X PUT "$VISUAL_URL" \
-H "Authorization: Bearer $OC_KEY" \
-H "Content-Type: application/json" \
-d '{ "label": "Orders today", "value": 214, "format": "number" }'On Free each chart takes one push a day; Solo is live. Pasting JSON is always free. Push API reference