# Szum > A chart design system. One semantic chart definition produces PNG, SVG, editable Figma assets, and interactive embeds. ## Pages - [Chart Image API: JSON to PNG/SVG for Emails & Reports](https://szum.io/chart-image-api): Validate a chart definition for free, then render publication-quality PNG or SVG images for emails, reports, dashboards, and automations. - [AI Chart Maker for ChatGPT and Claude](https://szum.io/mcp-server): Add the published Charts by Szum app to ChatGPT or connect it in Claude. Describe your chart, review an interactive preview, and save image and embed links. - [Free Online Chart and Graph Maker](https://szum.io/web-editor): Make bar, line, pie, and scatter charts online for free. Paste your data, choose a theme, and download PNG or SVG with no signup, or publish an interactive embed. - [Free Figma Chart Plugin with Editable Layers](https://szum.io/figma-plugin): Make charts and graphs in Figma as editable, named layers. Start with sample data, paste a CSV when it arrives, and publish the same chart as PNG, SVG, or an embed. - [Interactive Charts for Websites – Free to Embed](https://szum.io/interactive-chart-embeds): Make interactive charts and graphs for your website and embed them free with one iframe. Each also works as a PNG for email and in Figma. - [Chart Maker for Teams: Brand Themes and Chart Rules](https://szum.io/teams): Keep every team chart on brand: shared themes from your style guide, rules every chart must pass, and one library across the web editor, Figma, API, and AI agents. - [Features: Chart Types, Themes, Annotations, and Embeds](https://szum.io/features): Explore Szum's 7 chart types, data shaping, labels, annotations, themes, validation, and image, Figma, and embed outputs. - [Chart Examples](https://szum.io/examples): Browse real-data chart examples made with Szum. Explore the available chart types, then open one to make it your own. - [Pricing](https://szum.io/pricing): Create charts for free, choose Creator for theme customization and professional publishing, or Pro for production scale. - [Charts in Emails: Create or Automate Email-Ready PNGs](https://szum.io/use-cases/charts-in-emails): Create a chart for Gmail, Outlook, newsletters, and transactional emails. Use the web editor without signing up for one-off PNGs or the API for recurring reports. - [Free Waterfall Chart Maker with Real Examples](https://szum.io/waterfall-chart): Make a waterfall or bridge chart online for free. Start from a real P&L or cash flow example; Szum calculates every subtotal and total and exports PNG or SVG. - [QuickChart Alternative: Better-looking Chart Image API](https://szum.io/quickchart-alternative): Looking for a QuickChart alternative? Szum combines a concise chart definition, chart-aware validation, curated themes, persistent URLs, and publication-ready PNG or SVG output. - [Google Image Charts Alternative: Static Chart API Replacement](https://szum.io/google-image-charts-alternative): Google Image Charts shut down in 2019. Compare the closest drop-in replacement with a modern JSON chart API, then migrate static chart URLs to PNG or SVG. - [About](https://szum.io/about): Szum is an independent chart design system built by Bartosz Prusinowski, a software engineer specializing in data visualization. ## Chart shapes ChartConfig describes chart semantics. It is data-free and discriminated by one of 7 chart types. ChartDocument is the complete chart input for validation, rendering, and saving: version, config, data, and optional presentation, size, and output. Document and config versions must match and advance together. Rendering a document does not save it. Current chart version: 2026-09-26 Document fields: version "2026-09-26". Required. The chart document version. config ChartConfig. Required. The chart's semantic definition. data ChartDatum[]. Required. The rows interpreted by the semantic field roles in config. presentation ChartPresentation. Default: light, opaque. Light/dark mode and background policy. size ChartSize. Default: automatic. Fixed-canvas or fixed-plot sizing; omission is automatic. output ChartOutput. Default: { format: "svg" }. Output format and PNG resolution policy. ## Validation and rendering POST https://szum.io/validate Content-Type: application/json Body: a ChartDocument or supported 2026-03-20 config. Response: { valid, diagnostics, compatibility?, suggestedDocument? } Public, read-only, free, and private/no-store. Error severity determines invalidity. Diagnostics use coarse codes and JSON Pointers. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. POST https://szum.io/chart Authorization: Bearer YOUR_API_KEY Content-Type: application/json Body: a ChartDocument or supported 2026-03-20 config. Set output.format to "svg" or "png". Response: image bytes matching output.format, plus account usage headers. Optional ?sharedTheme= renders in a Team workspace's shared theme; a document that sets neither theme nor themeOverrides renders in the workspace's default theme. Keep the key server-side. Authenticated output is private/no-store. GET https://szum.io/chart?config= Keyless image access for small public inputs. Works in img tags, includes attribution, and rejects themeOverrides. The exact URL is publicly cacheable. Never put private data or credentials in it. Payload limits: ChartConfig semantic object: 50 KB. Chart document submitted for validation or rendering: 56 KB. Saved-document transport and compressed/decoded storage safety: 64 KB. Smallest clear document: { "version": "2026-09-26", "config": { "version": "2026-09-26", "type": "column", "category": { "field": "quarter" }, "values": { "type": "long", "field": "revenue" } }, "data": [ { "quarter": "Q1", "revenue": 42 }, { "quarter": "Q2", "revenue": 58 } ], "output": { "format": "svg" } } ## Workspaces Charts, API keys, usage, and the subscription belong to a workspace, not a person. Every account has a personal workspace; a Team workspace is shared by its admins and members. Most calls never name a workspace: a chart id carries its own workspace, plan, allowance, and rules. Creating a chart, rendering an unsaved one, and listing charts act on the credential's workspace: API key: the workspace it was created in, under Connect in that workspace's Studio. There is no workspace parameter. MCP over OAuth: the workspace chosen when the connection was authorized. Reconnect to change it; a connection stops when its user leaves the workspace. Figma plugin: the workspace of its API key. Team adds shared themes (GET /api/themes and sharedTheme), chart rules (GET /api/chart-rules and workspace_rule findings), allowed embed domains (/e/ frames only on listed sites), and the author filter on list. Its 50,000 renders a month and its storage are shared by the workspace. When Team ends, 30 days of grace keep published charts' presentation while the workspace is read-only: reads, exports, and existing keys keep working, and writes return 403 plan_required. After that, Free rules apply. ## Saved charts A saved chart object contains: { id, source, title, createdAt, updatedAt, sizeBytes, publishedAt, imageUrl, embedUrl, documentUrl } List items also contain hasDraft, authorId (for the author filter), and authorName (Former member once the author has left). source is an open string set; current first-party values are api, figma, app, mcp. publishedAt is null when public URLs are dark. sizeBytes is compressed current-publication storage and is 0 for a draft-only chart; version history counts toward the storage budget too, and its oldest versions are pruned to make room, so history never blocks a publication. Documents are fetched separately. POST https://szum.io/api/charts Authorization: Bearer YOUR_API_KEY Body: { document: ChartDocument, title?: string, source?: string, sharedTheme?: string | null, acceptLosses?: string[] }, or { config: supported 2026-03-20 config, ... }. sharedTheme names a Team workspace's shared theme and links the chart to it. Without it, a document that sets neither theme nor themeOverrides starts in the workspace's default theme; null skips the default. An unknown name returns 400 listing the workspace's themes. Optional Idempotency-Key (max 255 characters) identifies one intended HTTP create. Reuse it with the exact same body for retries. HTTP deduplication is by key alone; use a fresh key for distinct content. A concurrent duplicate returns 409 with Retry-After. GET https://szum.io/api/charts?source=api|figma|app|mcp&sort=updated|created|title&q=&limit=<1-1000>&cursor= Lists owner-scoped chart metadata. Default limit 100. Pass nextCursor back unchanged with the same sort. q adds total; includeTotal=1 can request it without search. GET https://szum.io/api/charts/ Reads one owner-scoped chart object without document bytes. GET https://szum.io/api/charts//document Returns { document, draft, publishedAt, title, sharedTheme }. document is the current publication or null; draft is a newer unpublished document or null. It never substitutes draft for publication. sharedTheme is the name of the shared theme the publication is linked to, or null; a replacement that names no theme keeps the link. GET https://szum.io/api/charts/documents?ids= Batch owner-scoped preview-document read, max 100 ids. It prefers a newer draft. Returns { documents: [{ id, document }], missing: [{ id, reason: "not_found"|"unavailable" }] }; treat reason as an open set. PUT https://szum.io/api/charts//document Body: { document: ChartDocument, title?: string, sharedTheme?: string | null, expectedUpdatedAt?: string, source?: "api" | "app" | "figma" | "mcp", acceptLosses?: string[] }, or { config: supported 2026-03-20 config, ... }. Replaces and publishes in place while preserving id and URLs. Bearer callers receive 409 rather than overwriting an unpublished editor draft. Without sharedTheme the chart keeps its link unless the document sets a different theme of its own; null ends the link and keeps the document's own theme. Without title a renamed chart keeps its title, and a chart whose title came from its document takes the new document's; an empty title takes the document's. expectedUpdatedAt is the updatedAt you last read; when the chart has been published or renamed since, the replacement returns 409 conflict and writes nothing. GET https://szum.io/api/charts//versions?named=1&limit=<1-1000>&cursor= Lists the chart's versions newest first: { currentVersion: { id, number } | null, items, nextCursor }. Every publication is a version: create, replace, restore, and move; identical republishes and drafts make none. Items carry number, kind, publishedAt, publishedByName, client, apiKeyName, mcpClientName, restoredFromVersion, changedSections, title, label, removal, sizeBytes, and isCurrent. A version with removal set lost its content to storage pruning or deletion and can't be read or restored. Earlier versions are never public. GET https://szum.io/api/charts//versions/ Returns { version, preparation }. preparation.state is removed, unavailable, or retained; retained carries the stored document, a preview, and restore: the document a restore would publish now, with its validation, loss codes, and fingerprint, or a blocked reason. POST https://szum.io/api/charts//versions//restore Body: { fingerprint?, acceptLosses?, expectedUpdatedAt?, title? } ({} is enough). Publishes the version again as a new version while preserving id and URLs; the replaced version stays restorable. A changed fingerprint returns 409; Bearer callers receive 409 while an unpublished editor draft exists. Returns the chart object with currentVersion. POST https://szum.io/api/charts//versions//duplicate Body: { fingerprint?, acceptLosses?, title? }, optional Idempotency-Key. Creates and publishes a new chart from the version, with its own version 1. Returns 201. PATCH https://szum.io/api/charts//versions/ Body: { label: string | null }. Names a version or clears its name; named versions are pruned last. DELETE https://szum.io/api/charts//versions/, or DELETE https://szum.io/api/charts//versions with { beforeNumber, includeLabelled } Deletes one earlier version, or every earlier version below beforeNumber. Workspace admins only; the current version can't be deleted. Returns { ok: true, affectedCount }. GET https://szum.io/api/themes Lists the workspace's shared themes, the default first, and the built-in theme new charts start in when the workspace chose one: { themes: [{ name, theme, themeOverrides?, isDefault }], defaultBuiltInTheme }. GET https://szum.io/api/chart-rules Returns the chart rules a Team workspace enforces: { rules: { zero_baseline, title_required, caption_required, description_required, pie_slice_limit, color_limit, allowed_themes, allowed_chart_types }, allowedThemes: [{ id, name, theme, themeOverrides? }], allowedChartTypes: [type] }, each rule "off", "warn", or "block", or { rules: null }. allowedThemes lists the themes allowed_themes accepts, empty while it's off, each with an id of { kind: "built-in", theme } or { kind: "shared", themeId }; a chart passes when its own theme and themeOverrides match one exactly. allowedChartTypes lists the chart types allowed_chart_types accepts, empty while it's off. Their findings use the workspace_rule code; a Block rule refuses saving, updating, moving in, and rendering an unsaved chart. Ignore rules you don't know. PATCH https://szum.io/api/charts/ Body: { title: string }. Renames metadata only. POST https://szum.io/api/charts//unpublish Takes the public URLs offline without deleting the chart. Replacing the document with PUT publishes it again under the same URLs. DELETE https://szum.io/api/charts/ Permanently revokes the saved chart. HTTP returns 404 when it is already absent. Session-only editor lifecycle: PUT/DELETE https://szum.io/api/charts//draft saves or discards a Studio draft. GET https://szum.io/c/ returns the public image; .svg or .png forces format. GET https://szum.io/e/ returns the interactive embed. GET https://szum.io/v/ is the human share page. Successful image/embed responses cache for 24 hours. Origin cache misses count against the owner's render allowance; CDN hits and client-side interaction do not. ## TypeScript SDK npm install @szum-io/sdk import { Szum } from "@szum-io/sdk"; const szum = new Szum({ apiKey: "YOUR_API_KEY" }); const svg = await szum.render({ config: { type: "column", category: { field: "quarter" }, values: { type: "long", field: "revenue" } }, data: [{ quarter: "Q1", revenue: 42 }], output: { format: "svg" }, }); const chart = await szum.charts.create({ "version": "2026-09-26", "config": { "version": "2026-09-26", "type": "column", "category": { "field": "quarter" }, "values": { "type": "long", "field": "revenue" } }, "data": [ { "quarter": "Q1", "revenue": 42 }, { "quarter": "Q2", "revenue": 58 } ], "output": { "format": "svg" } }); const state = await szum.charts.getDocumentState(chart.id); The SDK injects the config version and the matching document version it was generated against when omitted. It exports ChartConfig, ChartDocument, diagnostics and validation result types, saved-chart contracts, and SzumError. Use charts.getDocuments(ids) for draft-preferred preview batches; charts.update(id, document) publishes in place; charts.rename and charts.delete affect metadata/lifecycle. ## Chart types column: Vertical columns for categorical comparisons category BarCategoryRole | RangeCategoryRole. Required. Category field; band or UTC scales for scalar bars, and band scales for ranges. values ValuesRole | RangeValuesRole. Required. Long, wide, count, or start/end range values. arrangement BarArrangementPreference. Default: stacked for series values. Stacked or grouped placement for series values; percent normalization belongs to the stacked branch. Omit for simple and ranged bars. order CategoryOrder | RangeCategoryOrder. Category/value sorting or explicit order for scalar bars; ranges support category sorting or explicit order. spacing BarSpacingPreference. Category spacing; series spacing is available only for grouped bars. color CategoricalColor. Categorical color preferences. categoryAxis boolean | AxisOptions. True shows the category axis, false hides it, and an options object shows it with those settings. Omit for defaults. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. valueAxis boolean | AxisOptions. True shows the value axis, false hides it, and an options object shows it with those settings. Omit for defaults. annotations CartesianAnnotation[]. Positioned annotations for scalar bars. references CategoricalReference[]. Reference lines for scalar bars. cornerRadius number. Default: theme default. Column end-corner radius. stroke Stroke. Column stroke color and width. labels StackedBarLabels | PositionableBarLabels. Scalar column labels: stacked content, or simple/grouped content and position. totals boolean. Show or hide totals for unnormalized stacked columns. Omit to hide. line PromotedLine. Draw named series as a line on the same value scale instead of bars or areas. "series" is a non-empty subset of the effective series domain and may not name every series; use type "line" for that. Unavailable on ranged bars and on percent-normalized arrangements. bar: Horizontal bars for categorical comparisons category BarCategoryRole | RangeCategoryRole. Required. Category field; band or UTC scales for scalar bars, and band scales for ranges. values ValuesRole | RangeValuesRole. Required. Long, wide, count, or start/end range values. arrangement BarArrangementPreference. Default: stacked for series values. Stacked or grouped placement for series values; percent normalization belongs to the stacked branch. Omit for simple and ranged bars. order CategoryOrder | RangeCategoryOrder. Category/value sorting or explicit order for scalar bars; ranges support category sorting or explicit order. spacing BarSpacingPreference. Category spacing; series spacing is available only for grouped bars. color CategoricalColor. Categorical color preferences. categoryAxis boolean | AxisOptions. True shows the category axis, false hides it, and an options object shows it with those settings. Omit for defaults. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. valueAxis boolean | AxisOptions. True shows the value axis, false hides it, and an options object shows it with those settings. Omit for defaults. annotations CartesianAnnotation[]. Positioned annotations for scalar bars. references CategoricalReference[]. Reference lines for scalar bars. cornerRadius number. Default: theme default. Bar end-corner radius. stroke Stroke. Bar stroke color and width. labels StackedBarLabels | PositionableBarLabels. Scalar bar labels: stacked content, or simple/grouped content and position. totals boolean. Show or hide totals for unnormalized stacked bars. Omit to hide. line PromotedLine. Draw named series as a line on the same value scale instead of bars or areas. "series" is a non-empty subset of the effective series domain and may not name every series; use type "line" for that. Unavailable on ranged bars and on percent-normalized arrangements. line: Lines for trends and ordered series category CategoryRole. Required. Category field, scale, and format. values ValuesRole. Required. Long, wide, or count value roles. order CategoryOrder. Category ordering policy. color CategoricalColor. Categorical color preferences. categoryAxis boolean | AxisOptions. True shows the category axis, false hides it, and an options object shows it with those settings. Omit for defaults. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. valueAxis boolean | AxisOptions. True shows the value axis, false hides it, and an options object shows it with those settings. Omit for defaults. annotations CartesianAnnotation[]. Positioned annotations. references CategoricalReference[]. Reference lines. curve "linear" | "monotone" | "step". Default: theme default. Line interpolation. stroke LineStroke. Default: theme default. Line thickness; color follows the series. points boolean | LinePointOptions. True shows default markers; false or omission hides them. An options object enables markers with series selection, radius, fill, and stroke. labels LineLabels. End and point labels. area: Filled areas for trends and composition over time category CategoryRole. Required. Category field, scale, and format. values ValuesRole. Required. Long, wide, or count value roles. order CategoryOrder. Category ordering policy. arrangement { type: "stacked"; normalization?: "percent" }. Default: stacked. Stacked placement; percent normalization requires series values. Grouped placement is not supported. color CategoricalColor. Categorical color preferences. categoryAxis boolean | AxisOptions. True shows the category axis, false hides it, and an options object shows it with those settings. Omit for defaults. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. valueAxis boolean | AxisOptions. True shows the value axis, false hides it, and an options object shows it with those settings. Omit for defaults. annotations CartesianAnnotation[]. Positioned annotations. references CategoricalReference[]. Reference lines. curve "linear" | "monotone" | "step". Default: theme default. Area interpolation. stroke Stroke. Optional area boundary color and width. labels AreaLabels. Series-end and point labels. line PromotedLine. Draw named series as a line on the same value scale instead of bars or areas. "series" is a non-empty subset of the effective series domain and may not name every series; use type "line" for that. Unavailable on ranged bars and on percent-normalized arrangements. scatter: Points for relationships between two measures x ScatterRole. Required. X field, scale, and format. y ScatterRole. Required. Y field, scale, and format. id { field: string }. Stable datum identity field. size SizeEncoding. Optional size encoding. interval ScatterInterval. Lower and upper estimate bounds inheriting point color, with an optional uniform stroke override. color ScatterColor. Literal, categorical, sequential, or diverging color encoding. labels ScatterLabels. Point label field, format, and preferred position. radius number. Default: theme default. Default point radius. xAxis boolean | AxisOptions. True shows the X axis, false hides it, and an options object shows it with those settings. Omit for defaults. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. yAxis boolean | AxisOptions. True shows the Y axis, false hides it, and an options object shows it with those settings. Omit for defaults. annotations ScatterAnnotation[]. Positioned annotations. references ScatterReference[]. Reference lines. pie: Pie and donut charts for part-to-whole comparisons category PieCategoryRole. Required. Slice category field. values PieValuesRole. Required. Slice values or count. order CategoryOrder. Slice ordering policy. color CategoricalColor. Slice color preferences. labels PieLabels. Slice label content and position. innerRadius number. Default: 0. Inner-radius ratio from 0 up to, but not including, 1. cornerRadius number. Default: theme default. Slice corner radius. stroke false | Stroke. Default: 1. Slice separator color and width; false removes the separators. annotations PieAnnotation[]. Slice annotations. waterfall: Ordered changes from an opening to a closing balance category { field: string; format?: string }. Required. Ordered step label field. values { type: "long"; field: string; scale?: LinearScale; format?: string; currency?: string }. Required. Single numeric amount field; computed rows contain null. stepKind { field: string }. Required. Field containing start, change, subtotal, or total. focus "changes". Emphasize changes and show balances as points. connectors boolean. Default: true. Connect consecutive running balances. labels WaterfallLabels. Display each step's native value outside by default; auto and inside are available for bars. color WaterfallColor. Increase, decrease, and total colors. categoryAxis boolean | AxisOptions. Category-axis display options. valueAxis boolean | AxisOptions. Balance-axis display options. plotBorder boolean. Default: theme default. Full plot border, independent of axis visibility. annotations CartesianAnnotation[]. Step annotations. references WaterfallReference[]. Fixed reference lines. Shared ChartConfig fields: version "2026-09-26". Required. The chart config version. type ChartType. Required. The chart family. title string. Chart title. subtitle string. Supporting text beneath the title. caption string. Caption below the chart for a source, methodology note, or date. accessibilityDescription string. Accessible description of the chart's meaning. headerAlign "start" | "center" | "end". Default: theme default. Horizontal alignment for the title and subtitle. Omit it to use the selected theme's alignment. locale string. Default: "en-US". Locale identifier accepted by JavaScript Intl and associated with the chart content, such as en, pl, or zh-Hant. theme ThemeName. Default: "editorial". Built-in visual theme. themeOverrides ThemeOverrides. Overrides for properties of the selected theme. Scalar colors may provide Light and Dark members; palettes and continuous ranges provide a complete array per authored scheme. ## Data and roles Data is a flat array of objects whose values are strings, numbers, or null. Semantic roles reference keys in those rows. - column, bar, line, area: category plus values. values supports long, wide, or count types and optional aggregation/series. Column and bar also support a range type with start.field and end.field. - scatter: x and y, with optional id, size, color, labels, annotations, and references. - pie: category plus a field or count value role. Chart authoring: - Every field-bearing semantic role names a data key: category/values for column, bar, line, area, and pie; x/y for scatter; category/values/stepKind for waterfall. Count values intentionally omit a value field. Series and encoding fields must also exist in the same rows. - Choose one chart type for the question: column/bar for categorical comparison, line/area for ordered trends, scatter for relationships, pie sparingly for part-to-whole, and waterfall for an ordered balance bridge. - A waterfall has one measure and ordered stepKind values: optional first start, one or more signed changes, optional subtotals, and a final total. Subtotal and total amounts are null; the compiler calculates their balances. Do not add series or aggregation. Value labels default outside bars, and focus: "changes" shows large balances as points. - Use long values with an optional series field, wide values with explicit fields, or count values. Aggregation belongs in the value role. - Column and bar support grouped or stacked multi-series arrangements. Area charts stack by default and support normalization. - Prefer native labels and references; use annotations for authored explanatory text. - Axes, color/size legends, and line points accept true for default settings, false to hide, or an options object that enables them. Omission keeps defaults. Stack totals use a boolean. Do not add display to these objects. - Column and bar charts with long, wide, or count values, and all area charts, use linear value scales. Their inferred domains include zero, while an explicit domain excluding zero produces a warning. Base-10 log roles and explicit log domains require positive finite values; use line, scatter, or ranged columns and bars. - For chronological annual trends, use "YYYY" strings, set category.scale to { "type": "utc" }, and use category.format or categoryAxis.format "%Y". Do not invent dates. Categorical years may stay band; UTC numbers are Unix milliseconds. - Set config.locale to the chart's language for non-English text. It controls formatting and regional character forms; use ja for Japanese or ko for Korean, including Han-only labels. - Let themes style by default. Use color domains/ranges and themeOverrides only when they convey intentional meaning. A scalar color may provide light and dark members; a theme palette or continuous range provides one complete array per authored scheme. themeOverrides require a Creator, Pro, or Team plan and are rejected at render, not at validation. - Use the same ChartDocument for validation, rendering, and saving: version, config, data, and optional presentation/size/output. Document version must match config.version. Prefer the smallest clear definition. ## Themes editorial Data journalism, reports, and publications clean Product dashboards and SaaS interfaces noir Restrained typography and refined presentations loud Bold typography and high-impact presentations soft Friendly consumer-facing charts technical Dense dashboards and technical reports Default theme: editorial. Theme overrides: colors, fonts, typography, axes. ## Examples MCP clients should call get_examples. No filters returns 7 featured starters. chart_type, purpose, features, and example_id search the complete catalog and intersect; every requested feature must match. IDs are returned with examples for exact retrieval. Data is illustrative unless an example cites its source. Purposes: comparison, change, trend, composition, relationship, distribution, range. Distribution means categorical frequencies, not automatic histogram binning. Features: labels, time_scale, stacked, categorical_color, grouped, wide_data, totals, normalized, stable_colors, count, aggregation, signed_values, ranges, log_scale, size_encoding, sequential_color, diverging_color, intervals, annotations, missing_data, references, sparkline, explicit_order. Use features: ["annotations"] for callouts, or chart_type: "scatter" with features: ["intervals", "annotations"] for annotated uncertainty. Empty matches never silently relax a filter. Representative current documents: { "version": "2026-09-26", "config": { "version": "2026-09-26", "title": "Regional revenue · wide rows", "type": "column", "subtitle": "USD thousands", "category": { "field": "quarter" }, "values": { "type": "wide", "fields": [ "Americas", "Europe" ] }, "arrangement": { "type": "grouped" } }, "data": [ { "quarter": "Q1", "Americas": 42, "Europe": 21 }, { "quarter": "Q2", "Americas": 51, "Europe": 28 }, { "quarter": "Q3", "Americas": 48, "Europe": 32 }, { "quarter": "Q4", "Americas": 63, "Europe": 35 } ] } { "version": "2026-09-26", "config": { "version": "2026-09-26", "title": "Traffic-source share over time", "type": "area", "category": { "field": "date", "scale": { "type": "utc" }, "format": "%b %d" }, "values": { "type": "long", "field": "visits", "scale": { "type": "linear", "domain": [ 0, 1 ], "nice": false }, "series": { "field": "source", "domain": [ "Organic", "Paid", "Direct" ] } }, "arrangement": { "type": "stacked", "normalization": "percent" }, "valueAxis": { "format": ".0%" } }, "data": [ { "date": "2026-03-01", "source": "Organic", "visits": 420 }, { "date": "2026-03-01", "source": "Paid", "visits": 230 }, { "date": "2026-03-01", "source": "Direct", "visits": 140 }, { "date": "2026-03-04", "source": "Organic", "visits": 470 }, { "date": "2026-03-04", "source": "Paid", "visits": 260 }, { "date": "2026-03-04", "source": "Direct", "visits": 130 }, { "date": "2026-03-08", "source": "Organic", "visits": 520 }, { "date": "2026-03-08", "source": "Paid", "visits": 250 }, { "date": "2026-03-08", "source": "Direct", "visits": 150 }, { "date": "2026-03-13", "source": "Organic", "visits": 560 }, { "date": "2026-03-13", "source": "Paid", "visits": 310 }, { "date": "2026-03-13", "source": "Direct", "visits": 170 }, { "date": "2026-03-19", "source": "Organic", "visits": 640 }, { "date": "2026-03-19", "source": "Paid", "visits": 340 }, { "date": "2026-03-19", "source": "Direct", "visits": 190 }, { "date": "2026-03-26", "source": "Organic", "visits": 710 }, { "date": "2026-03-26", "source": "Paid", "visits": 360 }, { "date": "2026-03-26", "source": "Direct", "visits": 180 } ] } { "version": "2026-09-26", "config": { "version": "2026-09-26", "title": "Estimated effect by dose", "type": "scatter", "id": { "field": "id" }, "x": { "field": "dose" }, "y": { "field": "effect" }, "interval": { "axis": "y", "lower": { "field": "lower" }, "upper": { "field": "upper" } }, "xAxis": { "title": "Dose (mg)" }, "yAxis": { "title": "Estimated effect" }, "annotations": [ { "text": "Largest estimate", "anchor": { "type": "datum", "id": "d40" }, "placement": { "side": "above" }, "connector": "line" } ] }, "data": [ { "id": "d10", "dose": 10, "effect": 4, "lower": 1, "upper": 7 }, { "id": "d20", "dose": 20, "effect": 9, "lower": 5, "upper": 13 }, { "id": "d30", "dose": 30, "effect": 12, "lower": 8, "upper": 16 }, { "id": "d40", "dose": 40, "effect": 18, "lower": 13, "upper": 23 }, { "id": "d50", "dose": 50, "effect": 16, "lower": 10, "upper": 22 } ] } { "version": "2026-09-26", "config": { "version": "2026-09-26", "title": "Revenue mix", "type": "pie", "category": { "field": "segment" }, "values": { "type": "long", "field": "revenue", "percentFormat": ".0%" }, "labels": { "content": [ "category", "percent" ], "position": "auto" } }, "data": [ { "segment": "Subscriptions", "revenue": 62 }, { "segment": "Services", "revenue": 24 }, { "segment": "Licensing", "revenue": 14 } ] } ## MCP Endpoint: POST https://szum.io/mcp Published ChatGPT app: https://chatgpt.com/plugins/plugin_asdk_app_6a53ba3c12d08191a9ea125caf59836a Claude directory: https://claude.ai/directory/connector/charts-by-szum ChatGPT connection: Open the Charts by Szum listing in ChatGPT. Follow the installation and connection prompts, reviewing the requested access. Sign in to Szum when ChatGPT asks for account access. Start a new conversation, select Charts by Szum with an @ mention, and describe your chart. Use the published listing; no manual MCP server setup is needed. Availability depends on your ChatGPT account and workspace policy. Public discovery, validation, and previews work without Szum credentials; saving charts requires account access. Validation: Validate each generated or changed chart input once before rendering, saving, or updating. Do not revalidate unchanged input; a successful render preflights it for later saves or updates. Public reference tools: validate_chart Validate a document or supported 2026-03-20 config from the chart JSON string. list_chart_types List current chart types and fields. get_schema Return the JSON Schema for the whole document contract with every referenced definition; optional chart_type keeps only that family's config variants. Generated value lists are summarized, not enumerated. list_themes List built-in themes and, when signed in, the workspace's shared themes in workspaceThemes. get_examples Return complete example documents and selection guidance; optional chart_type, purpose, features, and example_id filters intersect. No filters returns 7 featured starters. Render and saved-chart tools: render_chart Preview a current document or supported 2026-03-20 config supplied as JSON in request; optional sharedTheme and acknowledgeWarnings after explicit user approval. Returns durableInput ready with the current document and any sharedTheme, or loss_acceptance_required with loss codes. save_chart Persist a current ChartDocument or supported 2026-03-20 config supplied as JSON in document; optional sharedTheme, acknowledgeWarnings, acceptLosses, and idempotencyKey. Returns the published versionNumber. list_charts List owner-scoped saved-chart metadata; optional source, sort, q, author (an authorId or "former"), cursor, and limit. get_chart Get one saved-chart metadata record and app preview. get_chart_document Get one owner-scoped published document; optional version reads an earlier version from list_chart_versions. list_chart_versions List a saved chart's versions newest first with publisher, client and changed sections; optional named, cursor, and limit. update_chart Replace a saved chart with the supplied current document or supported 2026-03-20 config while preserving id and URLs; optional sharedTheme (null ends the link) and title; refuses unpublished Studio work. Returns the published versionNumber. restore_chart_version Publish an earlier version again as a new version while preserving id and URLs; optional acceptLosses; refuses unpublished Studio work. rename_chart Rename chart metadata. delete_chart Permanently delete a saved chart; MCP treats an already-absent id as success. get_preview_state Recover the current MCP App preview state. Reference, validation, and anonymous preview use require no credentials. Saved-chart tools require OAuth or a Bearer API key. Authenticated render_chart uses account allowance; anonymous interactive previews are complimentary. Errors block; warnings require explicit user approval for the exact chart input. Rendering may add layout warnings to the semantic findings before an action proceeds. Suggestions do not block. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. Set acknowledgeWarnings only for that approved input. Suggestions never apply automatically. render_chart stores a 1 hour preview. Temporary image URLs are public capabilities; obtain explicit consent before exposing sensitive or non-public data. Opening PNG/SVG creates another render, and the produced image may cache for 1 hour. A compatible App can display hidden preview metadata without fetching a public image. It offers direct save only when durableInput is ready. When the user asks to save, pass durableInput.document, and durableInput.sharedTheme when present, when its status is ready. If it is loss_acceptance_required, show every loss code, obtain explicit approval, then call save_chart with the original older config and the complete acceptLosses list. Validation exposes compatibility classification and stable loss or unsupported codes for older input. For MCP save idempotency, reuse the same idempotencyKey and exact validated document. Unlike HTTP create, MCP keyed identity verifies document equality and conflicts on different content. Tool failures return a JSON text envelope with status and error { code, message, retryable }; error results omit success-shaped structuredContent. Use codes and retryable, never message parsing. Resources: szum://schema, szum://llms-txt. ## Compatibility New integrations should use 2026-09-26. Validation, rendering, save, and update operations also accept the documented subset of 2026-03-20 configs and convert them to the current document shape. exact Meaning and representation carry forward; rendering and saving allowed. normalized Meaning is preserved in the current document shape; rendering and saving allowed. lossy Current rendering is allowed with stable diagnostics; durable writes require acceptLosses to name every returned code. unsupported Rendering and saving are blocked; stored chart data remains unchanged. Changing an input invalidates warning and loss approval. ## HTTP errors and retries Handled operational failures return error: { code, message, retryable, details? } and optional diagnostics, compatibility, and suggestedDocument. HTTP and MCP tool failures share this contract; there are no public issues or duplicate errors arrays. Completed /validate checks return valid, diagnostics, optional compatibility, and an optional complete valid suggestedDocument; failure to read a request uses the operational envelope instead. Public diagnostics use coarse codes, JSON Pointer paths, and closed details. Layout warnings are returned by MCP rendering and as percent-encoded JSON in the X-Chart-Diagnostics image header. Auto sizing grows up to 4096 logical pixels per axis, preserving all source data and reflowing within that bound. Explicit sizes keep their authored meaning. Retryability never authorizes replaying ambiguous metered operations. 400 Invalid JSON, contract, semantics, title, cursor, or loss acceptance. Do not retry unchanged. 401 Missing or invalid credentials. 403 Plan or anonymous-surface presentation rejection. 404 Missing/unowned chart or unavailable public capability. 409 Concurrent idempotency, draft, or conditional-write conflict. Read current state or honor Retry-After. 413 Config, document or account storage policy exceeded. 429 Burst or monthly allowance exceeded. Honor Retry-After and back off. 500 Render/application failure; bounded retry only when the operation is safe. 503 Temporary credential, database, Redis, or Blob failure; bounded retry. ## Limits Anonymous keyless images: 100 per IP/month. Anonymous temporary images: 250 per originating IP/month. Free: 500 renders/month. Creator: 5,000 renders/month. Pro: 25,000 renders/month; optional overage is $1 per 5,000. Team: 50,000 renders/month, shared by the workspace; optional overage is $1 per 5,000. Successful origin outputs count. Validation, saving, local editor previews, Figma canvas rendering, client-side interaction, and CDN hits do not. Authenticated render responses may include: X-Usage-Used Renders consumed this month. X-Usage-Limit Included monthly allowance. X-Usage-Remaining Included renders remaining. X-Usage-Overage true when opt-in overage is active beyond the included allowance. Allowances reset on the first day of each month in UTC. Saved-chart storage is separate: the account budget sums current compressed publication bytes; drafts are individually bounded but do not add to that publication budget. ## JSON Schema and docs https://szum.io/schema.json (current data-free ChartConfig; the complete document envelope is described above) https://szum.io/llms-full.txt (every documentation page as Markdown) https://szum.io/.well-known/agent-skills/szum-charts/SKILL.md (the szum-charts Agent Skill; install it with npx skills add https://szum.io) Append .md to a documentation URL, or request it with Accept: text/markdown, for that page as Markdown: https://szum.io/docs.md https://szum.io/docs/validation.md https://szum.io/docs/compatibility.md https://szum.io/docs/mcp.md https://szum.io/docs/developers.md https://szum.io/docs/saved-charts.md https://szum.io/docs/teams.md https://szum.io/docs/figma.md