Features · type

Pyramid

partial

Triangular funnel / population pyramid

Matrix status partial. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.shape=trapezoid.

Source: chartkit:packages/core/src/generated/schema.ts:899

ChartKit spec

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

12 of 80 pay.12 of 80 pay.A: 80 (start)A80B: 12 · 15% of previousB12 · 15%
{
  "version": "1",
  "type": "funnel",
  "data": [
    {
      "x": "A",
      "y": 80
    },
    {
      "x": "B",
      "y": 12
    }
  ],
  "encoding": {
    "x": "x",
    "y": "y"
  },
  "a11y": {
    "alt": "12 of 80 pay."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "mark": {
    "shape": "trapezoid"
  }
}

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.pyramid.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnone—absence · absence—
Apache EChartspartialseries.sortfunnel sorted ascendingtypes · strongecharts/types/dist/shared.d.ts:11810
Highchartsnativeseries.type=pyramidtypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jspartialtrace.type=funnelareatypes · strongplot-schema.json#traces.funnelarea
Nivonone—absence · absence—
Victorynone—absence · absence—
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartsnativechart.type=pyramidtypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable Plotmanualgrep: rendermechanism · weak@observablehq/plot/src/scales.d.ts:166
Vega-LitemanualTopLevelSpec.layermechanism · weakvega-lite/build/spec/layer.d.ts:27
AG Chartsnative entseries.type=pyramidtypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5nativePyramidSeriestypes · strong@amcharts/amcharts5/.internal/charts/funnel/PyramidSeries.d.ts:45
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsunknown—conflict · unknown—
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2manualgrep: registermechanism · weak@antv/g2/lib/exports.d.ts:2