sparkline — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sparkline (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Compact inline charts for embedding in dashboards and metric displays. Four variants: line, area, bar, and sonar (diverging stacked bar). All hide axes, gridlines, and labels by default for a minimal appearance.
import {
SparklineChart,
AreaSparklineChart,
BarSparklineChart,
SonarChart
} from 'reaviz';Line sparkline with smooth interpolation, hover points, and no area fill.
Extends LineChart/AreaChart props with sparkline defaults.
| Prop | Type | Default | Description | |
|---|---|---|---|---|
data | ChartShallowDataShape[] | — | Chart data | |
width | number | auto | Width in pixels | |
height | number | auto | Height in pixels | |
margins | Margins | — | Chart margins | |
series | ReactElement<AreaSeriesProps> | line-only, smooth, strokeWidth 2 | Series component | |
xAxis | ReactElement | hidden, type time, scaled | X axis | |
yAxis | ReactElement | hidden, type value, scaled | Y axis | |
gridlines | `ReactElement \ | null` | null | Gridlines (hidden) |
<SparklineChart
width={200}
height={55}
data={data}
/>Area sparkline with striped mask, gradient fill, and smooth interpolation.
Same as SparklineChart. Default series includes:
<AreaSparklineChart
width={200}
height={85}
data={data}
/>Bar sparkline with single color scheme.
Extends BarChart props with sparkline defaults.
| Prop | Type | Default | Description | |
|---|---|---|---|---|
data | ChartShallowDataShape[] | — | Chart data | |
width | number | auto | Width in pixels | |
height | number | auto | Height in pixels | |
margins | Margins | — | Chart margins | |
series | ReactElement<BarSeriesProps> | single cybertron color | Series component | |
xAxis | ReactElement | hidden, type category | X axis | |
yAxis | ReactElement | hidden, type value | Y axis | |
gridlines | `ReactElement \ | null` | null | Gridlines (hidden) |
<BarSparklineChart
width={200}
height={35}
data={data}
/>Stacked diverging bar chart for signal/activity visualization. Bars extend both up and down from center.
Extends BarChart props. Uses ChartNestedDataShape[] data.
| Prop | Type | Default | Description | |
|---|---|---|---|---|
data | ChartNestedDataShape[] | — | Nested data (two values per entry) | |
width | number | auto | Width in pixels | |
height | number | auto | Height in pixels | |
margins | Margins | 0 | Chart margins | |
series | ReactElement | stackedDiverging with gradient bars | Series component | |
xAxis | ReactElement | hidden, type category | X axis | |
yAxis | ReactElement | hidden, type value | Y axis | |
gridlines | `ReactElement \ | null` | null | Gridlines (hidden) |
const sonarData = [
{ key: 'T1', data: [
{ key: 'up', data: 5 },
{ key: 'down', data: 3 },
]},
{ key: 'T2', data: [
{ key: 'up', data: 8 },
{ key: 'down', data: 2 },
]},
];
<SonarChart
width={300}
height={50}
data={sonarData}
/>All sparkline variants (except SonarChart) use flat data:
const data = [
{ key: new Date('2024-01-01'), data: 10 },
{ key: new Date('2024-02-01'), data: 25 },
{ key: new Date('2024-03-01'), data: 18 },
];All variants accept their parent chart's props, so you can override defaults:
// Custom line color
import { LineSeries, Line } from 'reaviz';
<SparklineChart
width={200}
height={55}
data={data}
series={
<LineSeries
interpolation="linear"
line={<Line strokeWidth={1} />}
colorScheme="#FF5722"
/>
}
/>scaled={true} on axes for tight data fittingsymbols={null} to disableStripes mask over a gradient filltype="stackedDiverging" with two gradient bars and absolute-value tooltips~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.