sunburst-chart — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sunburst-chart (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.
Hierarchical radial chart displaying nested data as concentric rings of arcs. Inner rings represent parent categories, outer rings represent children. Supports gradients, tooltips, and animated transitions.
import {
SunburstChart,
SunburstSeries,
SunburstArc,
SunburstArcLabel
} from 'reaviz';| Prop | Type | Default | Description | |
|---|---|---|---|---|
data | `ChartShallowDataShape[] \ | ChartNestedDataShape[]` | [] | Chart data (flat or hierarchical) |
width | number | auto | Width in pixels | |
height | number | auto | Height in pixels | |
margins | Margins | 0 | Chart margins | |
series | ReactElement<SunburstSeriesProps> | <SunburstSeries /> | Series component | |
className | string | — | SVG CSS class | |
containerClassName | string | — | Container div CSS class |
| Prop | Type | Default | Description |
|---|---|---|---|
animated | boolean | true | Enable animations |
colorScheme | ColorSchemeType | 'cybertron' | Color scheme name or function |
arc | ReactElement<SunburstArcProps> | <SunburstArc /> | Arc element |
label | ReactElement<SunburstArcLabelProps> | <SunburstArcLabel /> | Label element |
| Prop | Type | Default | Description | |
|---|---|---|---|---|
cursor | string | 'pointer' | CSS cursor on hover | |
tooltip | `ReactElement<ChartTooltipProps> \ | null` | <ChartTooltip /> | Tooltip component |
gradient | `ReactElement<GradientProps> \ | null` | — | Gradient fill |
onClick | (event, data) => void | — | Click handler | |
onMouseEnter | (event, data) => void | — | Mouse enter handler | |
onMouseLeave | (event, data) => void | — | Mouse leave handler |
| Prop | Type | Default | Description |
|---|---|---|---|
fill | string | 'black' | Text color (auto-inverted for contrast) |
fontSize | number | 14 | Font size |
fontFamily | string | 'sans-serif' | Font family |
animated | boolean | — | Enable animations |
const data = [
{ key: 'Backend', data: [
{ key: 'API', data: [
{ key: 'REST', data: 50 },
{ key: 'GraphQL', data: 30 },
]},
{ key: 'Database', data: [
{ key: 'Postgres', data: 40 },
{ key: 'Redis', data: 20 },
]},
]},
{ key: 'Frontend', data: [
{ key: 'React', data: 60 },
{ key: 'CSS', data: 25 },
]},
];
<SunburstChart
height={400}
width={400}
data={data}
/>import { Gradient } from 'reaviz';
<SunburstChart
data={data}
series={
<SunburstSeries
arc={<SunburstArc gradient={<Gradient />} />}
/>
}
/><SunburstChart
data={data}
series={
<SunburstSeries colorScheme={['#FF5722', '#2196F3', '#4CAF50']} />
}
/><SunburstChart
data={data}
series={
<SunburstSeries
arc={
<SunburstArc
onClick={(event, d) => console.log(d)}
/>
}
/>
}
/><SunburstChart
data={data}
series={<SunburstSeries animated={false} />}
/><SunburstChart
data={data}
series={<SunburstSeries label={null} />}
/>ChartShallowDataShape[]) or nested (ChartNestedDataShape[]) — nesting depth determines ring count~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.