Features · type

Semi-circle / partial arc pie

native

Pie or donut over a partial angle range

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.startAngle, ChartKitChartSpecV1.mark.endAngle.

Source: chartkit:packages/core/src/generated/schema.ts:883, chartkit:packages/core/src/generated/schema.ts:887

ChartKit spec

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

Oak is larger.Oak is larger.Oak: 8 (61.5%)Pine: 5 (38.5%)13TotalOak61.5%Pine38.5%
{
  "version": "1",
  "type": "donut",
  "data": [
    {
      "x": "Oak",
      "y": 8
    },
    {
      "x": "Pine",
      "y": 5
    }
  ],
  "encoding": {
    "x": "x",
    "y": "y"
  },
  "a11y": {
    "alt": "Oak is larger."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "mark": {
    "startAngle": 0
  }
}

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: type.pie.semi.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: circumferencecircumference + rotationgrep · weakchart.js/dist/types/index.d.ts:257
RechartsnativePie.startAngle, Pie.endAngletypes · strongrecharts/types/polar/Pie.d.ts:27
Apache EChartsnativeseries.startAngle, series.endAngletypes · strongecharts/types/dist/shared.d.ts:11626
HighchartsnativeplotOptions.pie.startAngle, plotOptions.pie.endAngletypes · stronghighcharts/options/pie.d.ts:684
Plotly.jspartialtrace.rotationrotation + transparent slice workaroundtypes · strongplot-schema.json#traces.{pie,sunburst}.attributes.rotation
NivonativePie.startAngle, Pie.endAngletypes · strong@nivo/pie/dist/types/types.d.ts:60
VictorynativeVictoryPie.startAngle, VictoryPie.endAngletypes · strongvictory-pie/lib/victory-pie.d.ts:19
visxnativePie.startAngle, Pie.endAngletypes · strong@visx/shape/lib/types/D3ShapeConfig.d.ts:52
ApexChartsnativeplotOptions.pie.startAngle, plotOptions.pie.endAngletypes · strongapexcharts/types/apexcharts.d.ts:4089
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenativegrep: theta2theta/theta2 or scale rangegrep · weak850: "description"
AG Chartsnativeseries.sectorSpacingtypes · strongag-charts-types/dist/types/src/series/polar/donutOptions.d.ts:117
amCharts 5nativePieChart.startAngle, PieChart.endAngletypes · strong@amcharts/amcharts5/.internal/charts/pie/PieChart.d.ts:30
Google ChartsnativePieChartOptions.pieStartAnglestart angle onlytypes · strong@types/google.visualization/index.d.ts:1065
uPlotunknown—conflict · unknown—
TradingView Lightweight Chartsnone—absence · absence—
MUI X ChartsnativePieChart.series.startAngle, PieChart.series.endAngletypes · strong@mui/x-charts/models/seriesType/pie.d.mts:62
Mermaid (chart-ish diagrams only)unknown—conflict · unknown—
AntV G2nativegrep: startAnglegrep · weak@antv/g2/lib/utils/angle.d.ts:3