Graflume · Alpha

Polar · Chart-specific features

Compare cyclic patterns and multivariate radial profiles through angle and radius. These tabs come from Graflume's public catalog. Every mode owns runnable data, options, a Quick API, and source-backed feature claims.

Chart family · Advanced families

Polar

Compare cyclic patterns and multivariate radial profiles through angle and radius.

Quick API
polar()
Browser snapshot
graflume/complete
mark
polar
Presets
5

Chart-specific features

Every executable mode in this family

These tabs come from Graflume's public catalog. Every mode owns runnable data, options, a Quick API, and source-backed feature claims.

Polar chart

Polar chart uses runnable data and options to demonstrate log/sqrt radius.

StatusLoading

  • polar
  • log/sqrt radius
Graflume.polar() 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.polar()

const data = [
  {
    "angle": 0,
    "series": "Daily cycle",
    "value": 57.76
  },
  {
    "angle": 30,
    "series": "Daily cycle",
    "value": 72.69
  },
  {
    "angle": 60,
    "series": "Daily cycle",
    "value": 84.89
  },
  {
    "angle": 90,
    "series": "Daily cycle",
    "value": 85.28
  },
  {
    "angle": 120,
    "series": "Daily cycle",
    "value": 72.7
  },
  {
    "angle": 150,
    "series": "Daily cycle",
    "value": 54.74
  },
  {
    "angle": 180,
    "series": "Daily cycle",
    "value": 42.61
  },
  {
    "angle": 210,
    "series": "Daily cycle",
    "value": 43.45
  },
  {
    "angle": 240,
    "series": "Daily cycle",
    "value": 55.52
  },
  {
    "angle": 270,
    "series": "Daily cycle",
    "value": 69.47
  },
  {
    "angle": 300,
    "series": "Daily cycle",
    "value": 74.99
  },
  {
    "angle": 330,
    "series": "Daily cycle",
    "value": 67.97
  }
];

const options = {
  "accessibility": {
    "description": "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.",
    "label": "Polar example"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "interaction": {
    "controls": {
      "annotations": false,
      "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"
    },
    "tooltip": {
      "fields": [
        {
          "field": "angle",
          "format": "number",
          "label": "Angle"
        },
        {
          "field": "value",
          "format": "number",
          "label": "Value"
        },
        {
          "field": "series",
          "format": "auto",
          "label": "Series"
        }
      ],
      "title": "Polar",
      "trigger": "mark"
    }
  },
  "locale": "en",
  "mark": {
    "fields": {
      "series": "series"
    },
    "options": {
      "closed": true,
      "mode": "line"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Polar chart uses runnable data and options to demonstrate log/sqrt radius.",
    "text": "Polar"
  },
  "width": "container",
  "x": {
    "field": "angle",
    "title": "Angle",
    "type": "quantitative"
  },
  "y": {
    "field": "value",
    "title": "Activity index",
    "type": "quantitative"
  }
};

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

Portable schema

ChartSpec 0.1 · options

{
  "accessibility": {
    "description": "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.",
    "label": "Polar example"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "interaction": {
    "controls": {
      "annotations": false,
      "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"
    },
    "tooltip": {
      "fields": [
        {
          "field": "angle",
          "format": "number",
          "label": "Angle"
        },
        {
          "field": "value",
          "format": "number",
          "label": "Value"
        },
        {
          "field": "series",
          "format": "auto",
          "label": "Series"
        }
      ],
      "title": "Polar",
      "trigger": "mark"
    }
  },
  "locale": "en",
  "mark": {
    "fields": {
      "series": "series"
    },
    "options": {
      "closed": true,
      "mode": "line"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Polar chart uses runnable data and options to demonstrate log/sqrt radius.",
    "text": "Polar"
  },
  "width": "container",
  "x": {
    "field": "angle",
    "title": "Angle",
    "type": "quantitative"
  },
  "y": {
    "field": "value",
    "title": "Activity index",
    "type": "quantitative"
  }
}

Catalog

Modes · compatibility identifiers

The source-controlled catalog maps callable modes in this family and compatibility identifiers to their canonical modes. This table contains executable entries only.

5 modes · 0 compatibility identifiers

Polar · supported modes · representative polar
IDNameQuick APImodemarkrenderer
polarPolar chartpolar()defaultpolarcanvas
radarRadar chartradar()radarradarcanvas
polar-linePolar line chartpolarLine()linepolarcanvas
polar-scatterPolar scatter chartpolarScatter()scatterpolarcanvas
polar-barPolar bar chartpolarBar()barpolarcanvas

Manual

Integration checklist

ARIA · table fallback

Accessibility

Canvas ARIA metadata is paired with a text summary and table fallback.

standard · large · ultra

Performance

Standard, large, and ultra profiles bound rendering work.