Skip to main content

Squillify development is paused indefinitely. Read why, and discover what this experiment achieved. Read the story

MicroSkills Reference

Area chart

chart.area

ProductionBounded custom (Class B)Deterministicstrictfastv1.0.0
No network

Overview

Use this for magnitude over an ordered domain when area from a common baseline carries meaning. Every contiguous run closes independently, so null gaps remain empty. Series overlap in caller order and are never stacked or reordered. svg is a complete static, script-free chart. Mark highlight, the dotted guide, and the value panel are not in that SVG, and entry motion, focus, and updates stay inactive there. Pass the entire output.behavior.artifact unchanged to SquillifyChartRuntime.mount(container, artifact, options), then call the returned handle's replay() once to play the entry. A later value change uses update(nextArtifact, {intent}). Injecting svg directly leaves hover and motion off. Interaction is on by default for every host chart: after mount, pointer and keyboard focus open the value panel and the dotted guide. Set behavior.interaction.enabled to false to turn that off. motion.preset accepts only the family's entrance.

The common baseline is part of an area's meaning; this skill validates and returns it instead of treating the fill as decoration.

Reliability

Identical validated input produces byte-identical static SVG. Nulls remain gaps and no values are sampled.

Context footprint

You receive CHART_CAPACITY_EXCEEDED for unreadable geometry and CHART_BEHAVIOR_CAPACITY_EXCEEDED for an oversized host artifact, or CHART_OUTPUT_TOO_LARGE when the bounded output estimate exceeds its limit. A successful call costs 3 execution credits.

When to use it

When filled magnitude from one common baseline communicates more than a boundary line.

When components must stack, or overlap would hide identities.

Scope

Note
Unstacked exact-value areas over one ordered domain and one common baseline.

Non-goals

  • Stacking or normalization (use chart.stacked_area)
  • Forecasting, interpolation, aggregation, or automatic baseline selection

Properties

IdempotentRetry safeStreaming supportedFile input supportedRequires external service

Capabilities

generationimage-processing

Cost & billing

Flat rate per invocation

MetercallsBillable onsuccessCost per call3 credits

File handling

Accepts file_refProduces file_refMax input195.3 KB

How we handle your data

Sensitive output possible
What this means

This skill may receive sensitive content and may return submitted, transformed, extracted, or reformatted content.

Squillify guarantees
  • Runs inside Squillify
  • This skill runs inside Squillify.
  • Payloads are not sent to an external service by this skill.
  • Squillify does not permanently store submitted payloads.
  • Telemetry records metadata only, not submitted content.
  • Submitted payloads are not used for training.
  • Submitted payloads are not reviewed by humans.
  • This skill does not target sensitive data.
  • The response may contain submitted or transformed content.
Your responsibility

Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.

Read the Microskill Data Handling Policy

Input schema

FieldTypeRequiredDescription
domainTypestringYesRequired number, time, or label domain kind.
xarrayYesArray of 2..5,000 strictly ordered homogeneous number, date, instant, or label strings.
seriesarrayYesOne to eight closed exact-decimal series; null entries are visible gaps.
baselineobjectNoClosed common baseline: {mode:'zero'} (default) or {mode:'value',value:<exact decimal string>}.
curvestringNostraight (default), stepBefore, stepAfter, or monotone.
markersstringNoauto (default), always, never, or endpoints.
widthintegerNoCanvas width in pixels, 100..1600 (optional; default 800). Outside that range the request is refused as invalid input rather than clamped. The ceiling is the size a chart is read at — a full-HD dashboard or a report page; beyond it the canvas stops being what limits how much fits, and type sized for the canvas is illegible once the export is displayed smaller. It applies per side, so a tall portrait canvas for a long horizontal ranking is allowed.
heightintegerNoCanvas height in pixels, 100..1600 (optional; default 400). Outside that range the request is refused as invalid input rather than clamped. The ceiling is the size a chart is read at — a full-HD dashboard or a report page; beyond it the canvas stops being what limits how much fits, and type sized for the canvas is illegible once the export is displayed smaller. It applies per side, so a tall portrait canvas for a long horizontal ranking is allowed.
themestringNoVisual language: basic, modern or squillify (optional; default squillify). An unregistered value is rejected with the registered names listed — we never substitute silently.
surfacestringNoSurface the theme renders on: dark or light (optional; default light).
densitystringNoHow tightly the chrome is packed: compact, standard or spacious (optional; default standard). Density scales spacing only — it never lowers a legibility minimum.
visualProfilestringNoWhat the SVG promises about the host font: portable or certified (optional; default portable). The default is layout-deterministic and tolerates substitution; certified refuses text the certified metrics cannot fully measure.
titlestringNoHeading drawn above the plot (optional; at most 1024 code points). Omit it and the chart renders untitled — we never invent a title from your data. One code point past that ceiling is refused as TOOL_INPUT_INVALID.
subtitlestringNoSecond line under the title, useful for the period covered or the unit (optional; at most 1024 code points). Omit it and no second line is drawn.
legendobjectNoClosed visibility settings; visible for multiple series by default.
styleobjectNoOptional bounded paint and typography styling; omit it to use the selected theme defaults. text.size is expressed in normalized design pixels at an 800-pixel reference width, so equivalent roles match at equal CSS width. It never changes data or accessibility. 'contract' selects the published semantics. 'tokens' sets design tokens; 'rules' applies typed properties to a role and optional series/category facets; 'palette' accepts a digest-checked palette; 'css' is a bounded post-layout stylesheet. The styleCapabilities section publishes this family's accepted roles, properties and copyable examples. For Bar, target one mark with role 'bar' plus seriesIndex and categoryIndex; categoryIndex alone targets that category across series. A minimal rule is {"target":{"role":"bar"},"set":{"paint.fill":"#2563eb"}}. Unsupported typed rules are refused; unsupported CSS is dropped and reported. Do not discover the grammar through trial calls: style validation failures are currently billable. Before calling, read this contract's styleSurface and styleCapabilities sections for the complete rule shape, accepted roles and properties, limits, and copyable examples.
behaviorobjectNoOptional closed motion and interaction settings. Default: omission enables the family's certified entry motion, tooltip, focus, and crosshair with reduced motion respected; set both nested enabled flags false for a static-only result. svg is a complete static, script-free chart. Mark highlight, the dotted guide, and the value panel are not in that SVG, and entry motion, focus, and updates stay inactive there. Pass the entire output.behavior.artifact unchanged to SquillifyChartRuntime.mount(container, artifact, options), then call the returned handle's replay() once to play the entry. A later value change uses update(nextArtifact, {intent}). Injecting svg directly leaves hover and motion off. Interaction is on by default for every host chart: after mount, pointer and keyboard focus open the value panel and the dotted guide. Set behavior.interaction.enabled to false to turn that off. motion.preset accepts only the family's entrance.
outputobjectNoClosed object with optional idNamespace string; when omitted we derive a deterministic SVG id namespace.

Output schema

FieldTypeRequiredDescription
svgstringYesAllowlist-checked script-free SVG. svg is a complete static, script-free chart. Mark highlight, the dotted guide, and the value panel are not in that SVG, and entry motion, focus, and updates stay inactive there. Pass the entire output.behavior.artifact unchanged to SquillifyChartRuntime.mount(container, artifact, options), then call the returned handle's replay() once to play the entry. A later value change uses update(nextArtifact, {intent}). Injecting svg directly leaves hover and motion off. Interaction is on by default for every host chart: after mount, pointer and keyboard focus open the value panel and the dotted guide. Set behavior.interaction.enabled to false to turn that off. motion.preset accepts only the family's entrance.
widthintegerYesRendered width in pixels.
heightintegerYesRendered height in pixels.
viewBoxstringYesSVG viewBox string (for example "0 0 800 400").
domainResultsarrayYesInput-order domain positions with canonical normalized values and retained offsets.
seriesResultsarrayYesInput-order exact raw values, optional indexed values, extrema, gaps, and band presence.
renderSummaryobjectYesBounded summary of the resolved domain, curve, series, points, gaps, and bands.
accessibilityobjectYesAccessible title, resolved detail rung, and deterministic data description.
transformationSummaryobjectYesWhether baseline indexing was applied and the selected baseline index.
behaviorobjectYesResolved default-on motion and interaction report. Includes the digest-bound host artifact when behavior is enabled and always preserves a complete script-free SVG. svg is a complete static, script-free chart. Mark highlight, the dotted guide, and the value panel are not in that SVG, and entry motion, focus, and updates stay inactive there. Pass the entire output.behavior.artifact unchanged to SquillifyChartRuntime.mount(container, artifact, options), then call the returned handle's replay() once to play the entry. A later value change uses update(nextArtifact, {intent}). Injecting svg directly leaves hover and motion off. Interaction is on by default for every host chart: after mount, pointer and keyboard focus open the value panel and the dotted guide. Set behavior.interaction.enabled to false to turn that off. motion.preset accepts only the family's entrance.
styleReportobjectNoPresent only when a 'style' input was supplied. Reports tokensApplied, rulesApplied, typedRulesApplied, typedAssignmentsApplied, rulesDropped, declarationsDropped and, when anything was dropped, a bounded list of reasons — so a stylesheet that was modified never looks like one that was applied whole.
warningsarrayNoPresent when the render succeeded with a known degradation. Each entry is an object with a stable code, a message and details. Every chart can emit FONT_SUBSTITUTION_POSSIBLE under visualProfile 'portable', FONT_GLYPH_UNMEASURED when a code point falls outside the certified metrics, and CHART_STYLE_PARTIALLY_APPLIED when part of your styling was dropped — styleReport then names which part and why. Codes are stable for agent routing.

API contract

POST /v1/execute
curl
curl -sS -X POST "$BASE/v1/execute" \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"skillKey":"chart.area","input":{"domainType":"time","x":["2026-01-01","2026-02-01"],"series":[{"id":"demand","label":"Demand","values":["120","136"]}],"baseline":{"mode":"zero"}}}'
Integrations
TypeScript SDK
import { Squillify } from "@squillify/sdk";

const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });

const { output } = await sq.execute("chart.area", {"x":["2026-01-01","2026-02-01","2026-03-01"],"baseline":{"mode":"zero"},"domainType":"time","series":[{"id":"demand","label":"Demand","values":["120","136","151"]}]});

Errors

CodeHTTPRetryableDescription
VALIDATION_ERROR400NoThe request payload failed schema validation.
UNAUTHORIZED401NoMissing or invalid API key.
SKILL_NOT_ACCESSIBLE403NoThe API key is not granted access to this skill.
SKILL_NOT_AVAILABLE_FOR_PLAN403NoThis skill is not included in your current plan.
PLAN_ELIGIBILITY_UNAVAILABLE503YesPlan eligibility could not be decided. Retry after backoff.
SKILL_NOT_FOUND404NoThe requested skill or version does not exist.
TENANT_RATE_LIMITED429YesRequest rate limit exceeded. Retry after backoff.
QUOTA_EXCEEDED429YesPlan quota exhausted. Retryable once the quota period resets.
EXECUTION_TIMEOUT504YesExecution exceeded the allowed time budget.
CHART_CAPACITY_EXCEEDED429NoA size, quota, rate, or time limit was exceeded.
CHART_OUTPUT_TOO_LARGE429NoA size, quota, rate, or time limit was exceeded.

Other limits

LimitValue
Recommended inline bytes32 KiB

Limitations

  • Stacking or normalization (use chart.stacked_area)
  • Forecasting, interpolation, aggregation, or automatic baseline selection
  • Part-to-whole composition
  • Many overlapping series

How to call

POST /v1/execute (requires authentication)

Request bodyjson
{
  "skillKey": "chart.area",
  "input": {
    "x": [
      "2026-01-01",
      "2026-02-01",
      "2026-03-01"
    ],
    "baseline": {
      "mode": "zero"
    },
    "domainType": "time",
    "series": [
      {
        "id": "demand",
        "label": "Demand",
        "values": [
          "120",
          "136",
          "151"
        ]
      }
    ]
  }
}

Examples

Monthly demand from zero

Inputjson
{
  "x": [
    "2026-01-01",
    "2026-02-01",
    "2026-03-01"
  ],
  "baseline": {
    "mode": "zero"
  },
  "domainType": "time",
  "series": [
    {
      "id": "demand",
      "label": "Demand",
      "values": [
        "120",
        "136",
        "151"
      ]
    }
  ]
}
Expected outputjson
{
  "transformationSummary": {
    "mode": "raw",
    "applied": false,
    "baseline": "0"
  },
  "domainResults": [
    {
      "offset": "Z",
      "input": "2026-01-01",
      "normalized": "2026-01-01"
    },
    {
      "offset": "Z",
      "input": "2026-02-01",
      "normalized": "2026-02-01"
    },
    {
      "offset": "Z",
      "input": "2026-03-01",
      "normalized": "2026-03-01"
    }
  ],
  "height": 400,
  "viewBox": "0 0 800 400",
  "renderSummary": {
    "domainType": "time",
    "curve": "straight",
    "seriesCount": 1,
    "pointCount": 3,
    "gapCount": 0,
    "bandsRendered": false
  },
  "width": 800,
  "behavior": {
    "motion": {
      "enabled": true,
      "finalState": "static-equivalent",
      "reducedMotion": "respect",
      "preset": "enter_trace"
    },
    "interaction": {
      "enabled": true,
      "capabilities": [
        "crosshair",
        "focus",
        "tooltip"
      ]
    }
  },
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"800\" height=\"400\" viewBox=\"0 0 800 400\" role=\"img\" class=\"sq-chart sq-chart--area sq-family--cartesian sq-theme--squillify sq-surface--light sq-density--standard\" data-sq-style-contract=\"CHART_STYLE@1\" data-sq-chart=\"area\" data-sq-family=\"cartesian\" data-sq-theme=\"squillify\" data-sq-theme-version=\"1\" data-sq-surface=\"light\" data-sq-density=\"standard\" data-sq-a11y-detail=\"full\" aria-labelledby=\"sq-c9282db53316-title-1 sq-c9282db53316-desc-2\"><title id=\"sq-c9282db53316-title-1\">area chart with 1 series</title><desc id=\"sq-c9282db53316-desc-2\">area chart. 1 series over 3 ordered points. Demand: 2026-01-01 120, 2026-02-01 136, 2026-03-01 151. All values are listed.</desc><style>.sq-chart{--sq-chart-axis:#c9d1df;--sq-chart-font-family:'Squillify Mono', 'IBM Plex Mono', monospace;--sq-chart-grid:#d8dee9;--sq-chart-surface:#ffffff;--sq-chart-text-muted:#667085;--sq-chart-text-primary:#101828;--sq-series-1:#2563eb;--sq-series-2:#6d5ce7;--sq-series-3:#168a5b;--sq-series-4:#c45412;--sq-series-5:#d92d20;--sq-series-6:#667085;font-family:var(--sq-chart-font-family);font-weight:500;}.sq-chart .sq-background{fill:var(--sq-chart-surface);}.sq-chart .sq-grid{stroke:var(--sq-chart-grid);}.sq-chart .sq-axis{stroke:var(--sq-chart-axis);}.sq-chart .sq-tick-label{fill:var(--sq-chart-text-muted);}.sq-chart .sq-line[data-sq-palette-index=\"0\"]{stroke:var(--sq-series-1);}.sq-chart .sq-point[data-sq-palette-index=\"0\"]{fill:var(--sq-series-1);}</style><defs><linearGradient id=\"sq-c9282db53316-area-fill-0\" gradientUnits=\"objectBoundingBox\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#2563eb\"/><stop offset=\"1\" stop-color=\"#2563eb00\"/></linearGradient></defs><rect x=\"0\" y=\"0\" width=\"800\" height=\"400\" fill=\"#ffffff\" class=\"sq-background\" data-sq-role=\"background\"/><g class=\"sq-plot\" data-sq-role=\"plot\"><line x1=\"55\" y1=\"372\" x2=\"788\" y2=\"372\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"49\" y=\"375.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"24\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.00</text><line x1=\"55\" y1=\"282\" x2=\"788\" y2=\"282\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"49\" y=\"285.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"30\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">50.00</text><line x1=\"55\" y1=\"192\" x2=\"788\" y2=\"192\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"49\" y=\"195.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"36\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">100.00</text><line x1=\"55\" y1=\"102\" x2=\"788\" y2=\"102\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"49\" y=\"105.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"36\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">150.00</text><line x1=\"55\" y1=\"12\" x2=\"788\" y2=\"12\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"49\" y=\"15.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"36\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">200.00</text><line x1=\"55\" y1=\"372\" x2=\"788\" y2=\"372\" stroke=\"#c9d1df\" stroke-width=\"1.5\" class=\"sq-axis\" data-sq-role=\"axis-line\"/><line x1=\"55\" y1=\"372\" x2=\"55\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"55\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"48\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">00:00:00</text><line x1=\"55\" y1=\"12\" x2=\"55\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-99b8a424f4e03867\"/><line x1=\"439.825\" y1=\"12\" x2=\"439.825\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-bf2f0483793d73c9\"/><line x1=\"788\" y1=\"12\" x2=\"788\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-cf6018590c553edb\"/><path d=\"M 55 156 L 439.825 127.2 L 788 100.2 L 788 372 L 439.825 372 L 55 372 Z\" fill=\"url(#sq-c9282db53316-area-fill-0)\" fill-opacity=\"0.4\" class=\"sq-mark sq-band\" data-sq-role=\"band\" data-sq-series-index=\"0\" data-sq-palette-index=\"0\"/><path d=\"M 55 156 L 439.825 127.2 L 788 100.2\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"2\" class=\"sq-mark sq-line\" data-sq-role=\"line\" data-sq-target-key=\"t-series-b3a00516c9ab6d65\" data-sq-series-index=\"0\" data-sq-palette-index=\"0\"/><rect x=\"52.5\" y=\"153.5\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"0\" data-sq-palette-index=\"0\"/><rect x=\"437.325\" y=\"124.7\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"1\" data-sq-palette-index=\"0\"/><rect x=\"785.5\" y=\"97.7\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"2\" data-sq-palette-index=\"0\"/></g></svg>",
  "seriesResults": [
    {
      "maximum": {
        "value": "151",
        "index": 2
      },
      "hasBand": false,
      "label": "Demand",
      "rawValues": [
        "120",
        "136",
        "151"
      ],
      "id": "demand",
      "meaning": "neutral",
      "gapRuns": [],
      "minimum": {
        "value": "120",
        "index": 0
      }
    }
  ],
  "accessibility": {
    "title": "area chart with 1 series",
    "detail": "full",
    "description": "area chart. 1 series over 3 ordered points. Demand: 2026-01-01 120, 2026-02-01 136, 2026-03-01 151. All values are listed."
  }
}

Temperature relative to a reference

Inputjson
{
  "x": [
    "1",
    "2",
    "3"
  ],
  "baseline": {
    "value": "1",
    "mode": "value"
  },
  "domainType": "number",
  "series": [
    {
      "id": "temperature",
      "label": "Temperature",
      "values": [
        "-2",
        "1",
        "4"
      ]
    }
  ]
}
Expected outputjson
{
  "transformationSummary": {
    "mode": "raw",
    "applied": false,
    "baseline": "1"
  },
  "domainResults": [
    {
      "input": "1",
      "normalized": "1"
    },
    {
      "input": "2",
      "normalized": "2"
    },
    {
      "input": "3",
      "normalized": "3"
    }
  ],
  "height": 400,
  "viewBox": "0 0 800 400",
  "renderSummary": {
    "domainType": "number",
    "curve": "straight",
    "seriesCount": 1,
    "pointCount": 3,
    "gapCount": 0,
    "bandsRendered": false
  },
  "width": 800,
  "behavior": {
    "motion": {
      "enabled": true,
      "finalState": "static-equivalent",
      "reducedMotion": "respect",
      "preset": "enter_trace"
    },
    "interaction": {
      "enabled": true,
      "capabilities": [
        "crosshair",
        "focus",
        "tooltip"
      ]
    }
  },
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"800\" height=\"400\" viewBox=\"0 0 800 400\" role=\"img\" class=\"sq-chart sq-chart--area sq-family--cartesian sq-theme--squillify sq-surface--light sq-density--standard\" data-sq-style-contract=\"CHART_STYLE@1\" data-sq-chart=\"area\" data-sq-family=\"cartesian\" data-sq-theme=\"squillify\" data-sq-theme-version=\"1\" data-sq-surface=\"light\" data-sq-density=\"standard\" data-sq-a11y-detail=\"full\" aria-labelledby=\"sq-7f62a7d3d8fb-title-1 sq-7f62a7d3d8fb-desc-2\"><title id=\"sq-7f62a7d3d8fb-title-1\">area chart with 1 series</title><desc id=\"sq-7f62a7d3d8fb-desc-2\">area chart. 1 series over 3 ordered points. Temperature: 1 -2, 2 1, 3 4. All values are listed.</desc><style>.sq-chart{--sq-chart-axis:#c9d1df;--sq-chart-font-family:'Squillify Mono', 'IBM Plex Mono', monospace;--sq-chart-grid:#d8dee9;--sq-chart-surface:#ffffff;--sq-chart-text-muted:#667085;--sq-chart-text-primary:#101828;--sq-series-1:#2563eb;--sq-series-2:#6d5ce7;--sq-series-3:#168a5b;--sq-series-4:#c45412;--sq-series-5:#d92d20;--sq-series-6:#667085;font-family:var(--sq-chart-font-family);font-weight:500;}.sq-chart .sq-background{fill:var(--sq-chart-surface);}.sq-chart .sq-grid{stroke:var(--sq-chart-grid);}.sq-chart .sq-axis{stroke:var(--sq-chart-axis);}.sq-chart .sq-tick-label{fill:var(--sq-chart-text-muted);}.sq-chart .sq-line[data-sq-palette-index=\"0\"]{stroke:var(--sq-series-1);}.sq-chart .sq-point[data-sq-palette-index=\"0\"]{fill:var(--sq-series-1);}</style><defs><linearGradient id=\"sq-7f62a7d3d8fb-area-fill-0\" gradientUnits=\"objectBoundingBox\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#2563eb\"/><stop offset=\"1\" stop-color=\"#2563eb00\"/></linearGradient></defs><rect x=\"0\" y=\"0\" width=\"800\" height=\"400\" fill=\"#ffffff\" class=\"sq-background\" data-sq-role=\"background\"/><g class=\"sq-plot\" data-sq-role=\"plot\"><line x1=\"49\" y1=\"372\" x2=\"788\" y2=\"372\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"43\" y=\"375.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"30\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">-2.00</text><line x1=\"49\" y1=\"252\" x2=\"788\" y2=\"252\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"43\" y=\"255.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"24\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.00</text><line x1=\"49\" y1=\"132\" x2=\"788\" y2=\"132\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"43\" y=\"135.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"24\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">2.00</text><line x1=\"49\" y1=\"12\" x2=\"788\" y2=\"12\" stroke=\"#d8dee9\" stroke-width=\"1\" class=\"sq-grid\" data-sq-role=\"grid-line\"/><text x=\"43\" y=\"15.5\" font-size=\"10\" text-anchor=\"end\" textLength=\"24\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">4.00</text><line x1=\"49\" y1=\"372\" x2=\"788\" y2=\"372\" stroke=\"#c9d1df\" stroke-width=\"1.5\" class=\"sq-axis\" data-sq-role=\"axis-line\"/><line x1=\"49\" y1=\"372\" x2=\"49\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"49\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"6\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0</text><line x1=\"196.8\" y1=\"372\" x2=\"196.8\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"196.8\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"18\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.2</text><line x1=\"344.6\" y1=\"372\" x2=\"344.6\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"344.6\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"18\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.4</text><line x1=\"492.4\" y1=\"372\" x2=\"492.4\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"492.4\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"18\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.6</text><line x1=\"640.2\" y1=\"372\" x2=\"640.2\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"640.2\" y=\"388\" font-size=\"10\" text-anchor=\"middle\" textLength=\"18\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">0.8</text><line x1=\"788\" y1=\"372\" x2=\"788\" y2=\"378\" stroke=\"#c9d1df\" stroke-width=\"1\" class=\"sq-tick\" data-sq-role=\"axis-line\"/><text x=\"788\" y=\"388\" font-size=\"10\" text-anchor=\"end\" textLength=\"6\" lengthAdjust=\"spacing\" fill=\"#667085\" class=\"sq-label sq-tick-label\" data-sq-role=\"tick-label\">1</text><line x1=\"49\" y1=\"12\" x2=\"49\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-99b8a424f4e03867\"/><line x1=\"418.5\" y1=\"12\" x2=\"418.5\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-bf2f0483793d73c9\"/><line x1=\"788\" y1=\"12\" x2=\"788\" y2=\"372\" class=\"sq-mark\" data-sq-role=\"plot\" data-sq-target-key=\"t-point-cf6018590c553edb\"/><path d=\"M 49 372 L 418.5 192 L 788 12 L 788 192 L 418.5 192 L 49 192 Z\" fill=\"url(#sq-7f62a7d3d8fb-area-fill-0)\" fill-opacity=\"0.4\" class=\"sq-mark sq-band\" data-sq-role=\"band\" data-sq-series-index=\"0\" data-sq-palette-index=\"0\"/><path d=\"M 49 372 L 418.5 192 L 788 12\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"2\" class=\"sq-mark sq-line\" data-sq-role=\"line\" data-sq-target-key=\"t-series-b3a00516c9ab6d65\" data-sq-series-index=\"0\" data-sq-palette-index=\"0\"/><rect x=\"46.5\" y=\"369.5\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"0\" data-sq-palette-index=\"0\"/><rect x=\"416\" y=\"189.5\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"1\" data-sq-palette-index=\"0\"/><rect x=\"785.5\" y=\"9.5\" width=\"5\" height=\"5\" rx=\"2.5\" fill=\"#2563eb\" class=\"sq-mark sq-point\" data-sq-role=\"point\" data-sq-series-index=\"0\" data-sq-point-index=\"2\" data-sq-palette-index=\"0\"/></g></svg>",
  "seriesResults": [
    {
      "maximum": {
        "value": "4",
        "index": 2
      },
      "hasBand": false,
      "label": "Temperature",
      "rawValues": [
        "-2",
        "1",
        "4"
      ],
      "id": "temperature",
      "meaning": "neutral",
      "gapRuns": [],
      "minimum": {
        "value": "-2",
        "index": 0
      }
    }
  ],
  "accessibility": {
    "title": "area chart with 1 series",
    "detail": "full",
    "description": "area chart. 1 series over 3 ordered points. Temperature: 1 -2, 2 1, 3 4. All values are listed."
  }
}
  • Show one dominant magnitude over time
  • Compare a small bounded set of overlapping magnitudes

Avoid for

  • Part-to-whole composition
  • Many overlapping series

Composable with

Safety & privacy

  • Runs without calling any external service.
  • Your payloads are never stored permanently.
  • Telemetry captures metadata only — never your payload contents.
  • We never train models on your payloads.
  • No human reviews your payloads.

Tags

chartvisualizationtime-seriessvgarea-chart