Graflume · Alpha

Chord · Edge-case application

Compare weighted relationships among categories with circular ribbons. Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.

Chart family · Advanced families

Chord

Compare weighted relationships among categories with circular ribbons.

Quick API
chord()
Browser snapshot
graflume/complete
mark
chord
Presets
2

Edge cases

Numeric range, irregular structure, and data volume

Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.

Wide numeric range

Mix zero, very small finite values, and very large finite values to verify automatic domains, precision, and stable geometry. NaN and Infinity remain intentionally invalid. It applies 2 data-integrity rules that preserve finite values and axis domains.

StatusLoading

  • extreme-range
  • extreme-small
  • extreme-large
  • zero
  • budget:marks<=6
Graflume.chord() Canvas 2D
Control help

Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.

Use Tab to reach a control and Enter or Space to activate it. With the chart focused, use plus and minus to zoom and arrow keys to pan.

Auto placement compares perimeter candidates and avoids the plot, legend, and other callouts when possible. Explicit placement is preserved with only necessary safety correction. Callout text wraps safely inside the bubble. Long unbroken tokens are visually shortened within the line budget, while the complete source text remains available to assistive technology.

Loading

Browser API · Portable schema

Browser API

Graflume.chord()

const data = [
  {
    "source": "Collected",
    "target": "Validated",
    "value": 1e-9
  },
  {
    "source": "Collected",
    "target": "Review queue",
    "value": 0
  },
  {
    "source": "Validated",
    "target": "Aggregated",
    "value": 1000000000000
  },
  {
    "source": "Validated",
    "target": "Exploration",
    "value": 1
  },
  {
    "source": "Aggregated",
    "target": "Reports",
    "value": 1000000
  },
  {
    "source": "Aggregated",
    "target": "Alerts",
    "value": 0.000001
  }
];

const options = {
  "accessibility": {
    "description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
    "label": "Chord"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "locale": "en",
  "mark": {
    "fields": {
      "target": "target",
      "value": "value"
    }
  },
  "title": {
    "subtitle": "edge case · range",
    "text": "Chord"
  },
  "width": "container",
  "x": {
    "field": "source",
    "title": "Team",
    "type": "ordinal"
  },
  "y": {
    "field": "value",
    "title": "Hand-offs",
    "type": "quantitative"
  }
};

Graflume.chord('#chart', data, options);

Portable schema

ChartSpec 0.1 · options

{
  "accessibility": {
    "description": "Cross-team hand-offs make reciprocal movement and concentration visible. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
    "label": "Chord"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "locale": "en",
  "mark": {
    "fields": {
      "target": "target",
      "value": "value"
    }
  },
  "title": {
    "subtitle": "edge case · range",
    "text": "Chord"
  },
  "width": "container",
  "x": {
    "field": "source",
    "title": "Team",
    "type": "ordinal"
  },
  "y": {
    "field": "value",
    "title": "Hand-offs",
    "type": "quantitative"
  }
}