Features · type

Text-syntax charts (Mermaid-style)

native

Charts authored as a text DSL rather than an object

Matrix status native. Verification grep · weak. ChartKit option: ~fromMermaid.

@chartkitdev/core/mermaid converts Mermaid to spec

Source: chartkit:packages/core/src/mermaid-phase4.ts:1

ChartKit spec

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

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "version": "1",
  "type": "line",
  "data": [
    {
      "quarter": "Q1",
      "units": 40
    },
    {
      "quarter": "Q2",
      "units": 55
    }
  ],
  "encoding": {
    "x": "quarter",
    "y": "units"
  },
  "a11y": {
    "alt": "Units rose in Q2."
  },
  "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: type.xychart.text.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnone—absence · absence—
Apache EChartsnone—absence · absence—
Highchartsnone—absence · absence—
Plotly.jsnone—absence · absence—
Nivonone—absence · absence—
Victorynone—absence · absence—
visxnone—absence · absence—
ApexChartsnone—absence · absence—
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenone—absence · absence—
AG Chartsnone—absence · absence—
amCharts 5none—absence · absence—
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnone—absence · absence—
Mermaid (chart-ish diagrams only)nativeMermaidConfig.xyCharttypes · strongmermaid/dist/config.type.d.ts:225
AntV G2none—absence · absence—