Features · data

Downsampling / decimation

native

Reduce large series before drawing (LTTB, min-max)

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.sampling=lttb, ChartKitChartSpecV1.data.sampling.

auto | minmax | lttb | none. Columnar data.sampling overrides mark.sampling.

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

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
  },
  "mark": {
    "sampling": "lttb"
  }
}

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: data.decimation.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.options.plugins.decimationlttb, min-maxtypes · strongchart.js/dist/types/index.d.ts:2986
Rechartsnone—absence · absence—
Apache EChartsnativeseries.samplinglttb, average, max, min, sum, minmaxtypes · strongecharts/types/dist/shared.d.ts:8421
Highchartsnativegrep: dataGroupingStock dataGrouping; boost module for raw speedgrep · weakhighcharts/highcharts.src.d.ts:394
Plotly.jsnone—scattergl for speed; no decimation optionabsence · absence—
Nivonone—absence · absence—
Victoryunknown—unverified · unknown—
visxnone—absence · absence—
ApexChartsnone—absence · absence—
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenone—absence · absence—
AG Chartsnone—absence · absence—
amCharts 5nativegrep: groupDataDateAxis groupDatagrep · weak@amcharts/amcharts5/.internal/plugins/sliceGrouper/SliceGrouper.d.ts:45
Google Chartsnone—absence · absence—
uPlotnone—draws every point; relies on fast canvas pathsabsence · absence—
TradingView Lightweight Chartsnativegrep: conflationdata conflationgrep · weak1124: * Context object provided to custom series conflation reducers.
MUI X Chartsnone—absence · absence—
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2none—absence · absence—