Table
Each column has
key, header, render?(row, index) (defaults to row[key]), align? and width?.Charts
The charts share a categorical palette checked for color-vision deficiency, with separate light and dark steps that follow the theme automatically. They label values directly, show a legend only for two or more series, add hover tooltips, and keep axes quiet. Colors are assigned in a fixed order; they do not cycle.BarChart
data: { label, value, color? }[], height? (default 200), color?, showValues? (default true), formatValue?, describe?(index) for extra tooltip lines.
LineChart
Axis floor. The default keeps zero;
'auto' fits the data, which suits lines whose values never approach zero.DonutChart
data: { label, value, color? }[], size? (default 180), thickness? (default 28), centerValue? (defaults to the total), centerLabel?, formatValue?.
Sparkline
An inline trend with no axes.data, width?, height?, color?, area?, strokeWidth?.
Legend and palette
seriesVar(i) returns the palette color for series i (var(--cskn-series-1) through -8). Pass color on a datum or series to override it.