Graflume · Alpha

Parallel coordinates · Extreme-environment application

Compare observations across several quantitative dimensions on parallel axes. Combine container size, input method, display capability, and user preference instead of guessing a device name. Compare mobile, watch, e-paper, monochrome, dot-matrix, and standards-based extreme environments on the same chart.

Chart family · Advanced families

Parallel coordinates

Compare observations across several quantitative dimensions on parallel axes.

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

Extreme environments

Reconfigure for display, input, and device capability

Combine container size, input method, display capability, and user preference instead of guessing a device name. Compare mobile, watch, e-paper, monochrome, dot-matrix, and standards-based extreme environments on the same chart.

Fluid responsive

Reflow axes, legends, descriptions, and controls from the available container size.

960×540 · adaptive.profiles=responsive-fluid
  • zoom-reflow
  • shape-rectangle
  • display-color
  • input-fine
  • motion-full
  • renderer-canvas-spatial

Extreme environment preview

Choose a profile above to preserve the same data and ChartSpec while reconfiguring the chart for display size, input method, display capability, and user preference.

StatusLoading

  • adaptive
  • capability-driven
  • no-user-agent-branching
  • Legend: legend · categories · name
  • Point and range highlights: highlights[] · datum · name
  • Custom callouts: annotations[] · datum · name · callout · placement:auto
  • Interactive selection: selection · multiple · toggle
Graflume.parallel() 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.parallel()

const data = [
  {
    "cost": 63,
    "name": "Balanced",
    "quality": 84,
    "speed": 82
  },
  {
    "cost": 76,
    "name": "Fast",
    "quality": 72,
    "speed": 94
  },
  {
    "cost": 71,
    "name": "Precise",
    "quality": 95,
    "speed": 69
  },
  {
    "cost": 49,
    "name": "Efficient",
    "quality": 86,
    "speed": 78
  },
  {
    "cost": 58,
    "name": "Baseline",
    "quality": 68,
    "speed": 62
  }
];

const options = {
  "accessibility": {
    "description": "Release candidates balance speed, quality, and operating cost. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
    "label": "Parallel coordinates: Release candidates balance speed, quality, and operating cost"
  },
  "annotations": [
    {
      "connector": {
        "visible": true
      },
      "detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
      "id": "manual-callout",
      "placement": "auto",
      "style": {
        "maxWidth": 220,
        "padding": 8
      },
      "target": {
        "field": "name",
        "type": "datum",
        "value": "Precise"
      },
      "text": "Point and range highlights · Precise"
    }
  ],
  "axes": {
    "x": false,
    "y": false
  },
  "create": {
    "adaptive": {
      "profiles": "auto"
    }
  },
  "height": 620,
  "highlights": [
    {
      "id": "manual-focus",
      "padding": 7,
      "target": {
        "field": "name",
        "type": "datum",
        "value": "Precise"
      }
    }
  ],
  "interaction": {
    "controls": {
      "annotations": true,
      "export": true,
      "fullscreen": true,
      "labels": {
        "controls": "Chart controls",
        "enterFullscreen": "Enter fullscreen",
        "exitFullscreen": "Exit fullscreen",
        "exportPng": "Download PNG",
        "hideAnnotations": "Hide callouts",
        "loop": "Loop playback",
        "nextFrame": "Next frame",
        "pause": "Pause",
        "play": "Play",
        "previousFrame": "Previous frame",
        "reset": "Reset view",
        "seek": "Playback position",
        "showAnnotations": "Show callouts",
        "speed": "Playback speed",
        "zoomIn": "Zoom in",
        "zoomOut": "Zoom out"
      },
      "playback": false,
      "reset": true,
      "zoom": true
    },
    "hover": true,
    "navigation": {
      "drag": true,
      "keyboard": true,
      "maxZoom": 6,
      "minZoom": 1,
      "pinch": true,
      "wheel": "modifier"
    },
    "selection": {
      "ariaLabel": "Interactive selection",
      "clearOnBackground": true,
      "clearOnEscape": true,
      "highlight": {
        "padding": 5
      },
      "key": "name",
      "mode": "multiple",
      "toggle": true
    },
    "tooltip": {
      "fields": [
        {
          "field": "name",
          "format": "auto",
          "label": "Name"
        },
        {
          "field": "speed",
          "format": "number",
          "label": "Speed"
        },
        {
          "field": "quality",
          "format": "number",
          "label": "Quality"
        },
        {
          "field": "cost",
          "format": "number",
          "label": "Cost"
        }
      ],
      "title": "Parallel coordinates",
      "trigger": "mark"
    }
  },
  "legend": {
    "field": "name",
    "interactive": false,
    "labels": {
      "hide": "Hide",
      "show": "Show"
    },
    "maxItems": 8,
    "mode": "categories",
    "orientation": "horizontal",
    "position": "bottom",
    "title": "Name",
    "visible": true
  },
  "locale": "en",
  "mark": {
    "options": {
      "dimensions": [
        "speed",
        "quality",
        "cost"
      ],
      "mode": "coordinates"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Release candidates balance speed, quality, and operating cost",
    "text": "Parallel coordinates"
  },
  "width": "container",
  "x": {
    "field": "name",
    "title": "Candidate",
    "type": "ordinal"
  },
  "y": {
    "field": "speed",
    "title": "Score",
    "type": "quantitative"
  }
};

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

Portable schema

ChartSpec 0.1 · options

{
  "accessibility": {
    "description": "Release candidates balance speed, quality, and operating cost. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
    "label": "Parallel coordinates: Release candidates balance speed, quality, and operating cost"
  },
  "annotations": [
    {
      "connector": {
        "visible": true
      },
      "detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
      "id": "manual-callout",
      "placement": "auto",
      "style": {
        "maxWidth": 220,
        "padding": 8
      },
      "target": {
        "field": "name",
        "type": "datum",
        "value": "Precise"
      },
      "text": "Point and range highlights · Precise"
    }
  ],
  "axes": {
    "x": false,
    "y": false
  },
  "create": {
    "adaptive": {
      "profiles": "auto"
    }
  },
  "height": 620,
  "highlights": [
    {
      "id": "manual-focus",
      "padding": 7,
      "target": {
        "field": "name",
        "type": "datum",
        "value": "Precise"
      }
    }
  ],
  "interaction": {
    "controls": {
      "annotations": true,
      "export": true,
      "fullscreen": true,
      "labels": {
        "controls": "Chart controls",
        "enterFullscreen": "Enter fullscreen",
        "exitFullscreen": "Exit fullscreen",
        "exportPng": "Download PNG",
        "hideAnnotations": "Hide callouts",
        "loop": "Loop playback",
        "nextFrame": "Next frame",
        "pause": "Pause",
        "play": "Play",
        "previousFrame": "Previous frame",
        "reset": "Reset view",
        "seek": "Playback position",
        "showAnnotations": "Show callouts",
        "speed": "Playback speed",
        "zoomIn": "Zoom in",
        "zoomOut": "Zoom out"
      },
      "playback": false,
      "reset": true,
      "zoom": true
    },
    "hover": true,
    "navigation": {
      "drag": true,
      "keyboard": true,
      "maxZoom": 6,
      "minZoom": 1,
      "pinch": true,
      "wheel": "modifier"
    },
    "selection": {
      "ariaLabel": "Interactive selection",
      "clearOnBackground": true,
      "clearOnEscape": true,
      "highlight": {
        "padding": 5
      },
      "key": "name",
      "mode": "multiple",
      "toggle": true
    },
    "tooltip": {
      "fields": [
        {
          "field": "name",
          "format": "auto",
          "label": "Name"
        },
        {
          "field": "speed",
          "format": "number",
          "label": "Speed"
        },
        {
          "field": "quality",
          "format": "number",
          "label": "Quality"
        },
        {
          "field": "cost",
          "format": "number",
          "label": "Cost"
        }
      ],
      "title": "Parallel coordinates",
      "trigger": "mark"
    }
  },
  "legend": {
    "field": "name",
    "interactive": false,
    "labels": {
      "hide": "Hide",
      "show": "Show"
    },
    "maxItems": 8,
    "mode": "categories",
    "orientation": "horizontal",
    "position": "bottom",
    "title": "Name",
    "visible": true
  },
  "locale": "en",
  "mark": {
    "options": {
      "dimensions": [
        "speed",
        "quality",
        "cost"
      ],
      "mode": "coordinates"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Release candidates balance speed, quality, and operating cost",
    "text": "Parallel coordinates"
  },
  "width": "container",
  "x": {
    "field": "name",
    "title": "Candidate",
    "type": "ordinal"
  },
  "y": {
    "field": "speed",
    "title": "Score",
    "type": "quantitative"
  }
}