Features · type

Sparkline

native

Tiny chart without axes for inline use

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=sparkline, ChartKitChartSpecV1.type=mini-area.

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

ChartKit spec

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

It ends higher.It ends higher.
{
  "version": "1",
  "type": "sparkline",
  "data": [
    4,
    6,
    5,
    9,
    8
  ],
  "a11y": {
    "alt": "It ends higher."
  },
  "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.sparkline.md.

LibraryStatusOptionVerificationSource
Chart.jsmanualPlugin.afterDatasetsDrawline chart with axes/legend disabledmechanism · weakchart.js/dist/types/index.d.ts:1051
RechartsmanualCustomizedmechanism · weakrecharts/types/component/Customized.d.ts:26
Apache EChartsmanualseries.type=custommechanism · weakecharts/types/dist/shared.d.ts:11176
HighchartsmanualSVGRendererdocumented sparkline demo with axes disabledmechanism · weakhighcharts/highcharts.d.ts:115777
Plotly.jsmanuallayout.shapesmechanism · weakplot-schema.json#layout.layoutAttributes.shapes
NivomanualLine.layersmechanism · weak@nivo/line/dist/types/types.d.ts:171
VictorymanualVictoryBarProps.dataComponentmechanism · weakvictory-core/lib/victory-util/common-props.d.ts:9
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartsnativechart.sparklinetypes · strongapexcharts/types/apexcharts.d.ts:2159
Tremor (npm)nativeSparkLineChart, SparkAreaCharttypes · strong@tremor/react/dist/index.d.ts:569
Observable Plotmanualgrep: rendermechanism · weak@observablehq/plot/src/scales.d.ts:166
Vega-LitemanualTopLevelSpec.layermechanism · weakvega-lite/build/spec/layer.d.ts:27
AG ChartsnativeAgSparklineOptionsAG sparkline API (used by AG Grid)types · strongag-charts-types/dist/types/src/chartBuilderOptions.d.ts:65
amCharts 5manualGraphicsmechanism · weak@amcharts/amcharts5/.internal/core/render/Graphics.d.ts:162
Google Chartsnone—absence · absence—
uPlotmanualOptions.hooksmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsmanualgrep: ICustomSeriesPaneViewmechanism · weak1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView
MUI X ChartsnativeSparkLineCharttypes · strong@mui/x-charts/SparkLineChart/SparkLineChart.d.mts:128
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2manualgrep: registermechanism · weak@antv/g2/lib/exports.d.ts:2