Features · layout

Coordinate systems (polar, transpose, geo)

partial

Switch coordinate system of the same marks

Matrix status partial. Verification types · strong. ChartKit option: ChartKitChartSpecV1.layout.coordinate=polar.

layout.coordinate polar draws on radial-bar and rose. A bar repairs to radial-bar, and a pie or donut repairs to rose. Other marks stay cartesian and the coordinate is removed.

Source: chartkit:packages/core/src/charts/radial-bar.ts:1

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

Saturday music runs longer, and talk shrinks.Saturday music runs longer, and talk shrinks.Music, weeknight: 186Music, saturday: 210MusicTalk, weeknight: 74Talk, saturday: 48TalkNews, weeknight: 36News, saturday: 22NewsSky, weeknight: 18Sky, saturday: 16Skyweeknightsaturday
{
  "version": "1",
  "type": "radial-bar",
  "data": [
    {
      "desk": "Music",
      "weeknight": 186,
      "saturday": 210
    },
    {
      "desk": "Talk",
      "weeknight": 74,
      "saturday": 48
    },
    {
      "desk": "News",
      "weeknight": 36,
      "saturday": 22
    },
    {
      "desk": "Sky",
      "weeknight": 18,
      "saturday": 16
    }
  ],
  "encoding": {
    "x": "desk",
    "y": [
      "weeknight",
      "saturday"
    ]
  },
  "layout": {
    "coordinate": "polar"
  },
  "a11y": {
    "alt": "Saturday music runs longer, and talk shrinks."
  },
  "size": {
    "width": 640,
    "height": 260
  }
}

Other libraries

Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: layout.polar.coords.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: RadialLinearScaleradial scale for radar/polarArea onlygrep · weakchart.js/dist/types/index.d.ts:3514
RechartsnativePolarAngleAxis, PolarRadiusAxistypes · strongrecharts/types/polar/PolarAngleAxis.d.ts:182
Apache EChartsnativepolar, angleAxistypes · strongecharts/types/dist/shared.d.ts:12572
Highchartsnativechart.polartypes · stronghighcharts/highcharts.d.ts:6526
Plotly.jsnativelayout.polartypes · strongplot-schema.json#layout.layoutAttributes.polar
Nivounknown—conflict · unknown—
VictorynativeVictoryChart.polartypes · strongvictory-core/lib/victory-util/common-props.d.ts:40
visxnativeGridPolar, LineRadialtypes · strong@visx/grid/lib/grids/GridPolar.d.ts:113
ApexChartsunknown—conflict · unknown—
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: projectiongrep · weak@observablehq/plot/src/projection.d.ts:5
Vega-Litenativegrep: projectiongrep · weak841: "theta"
AG Chartsnativegrep: angle-categorypolar axesgrep · weakag-charts-types/dist/types/src/chart/radiusAxisOptions.d.ts:11
amCharts 5nativeRadarCharttypes · strong@amcharts/amcharts5/.internal/charts/radar/RadarChart.d.ts:72
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsunknown—conflict · unknown—
MUI X Chartsnativegrep: rotationAxisgrep · weak@mui/x-charts/index.d.ts:34
Mermaid (chart-ish diagrams only)unknown—conflict · unknown—
AntV G2nativegrep: coordinategrep · weak@antv/g2/lib/index.d.ts:52