Skip to content

ConfidenceSpectrum

stable

Multi-dimensional certainty visualization. Shows uncertainty fingerprint across epistemic, aleatory, temporal, and consensus dimensions. Distinct from ConfidenceMeter (single-axis).

Trust & Provenance/Storybook ↗
import { ConfidenceSpectrum } from "@danagraph/design-system/patterns"
Loading demo…

Props

dimensionsrequired
Type ConfidenceDimension[]Default —

Confidence dimensions to visualize. Each has key, label, value (0–1), and optional rationale.

overall
Type numberDefault —

Overall confidence score. Defaults to min of all dimensions (conservative).

variant
Type "bars" | "spectrum" | "signature"Default "bars"

bars: parallel bar chart; spectrum: gradient with markers; signature: compact fingerprint.

showHedge
Type booleanDefault true

Show hedge warning when any dimension is below hedgeThreshold.

hedgeThreshold
Type numberDefault 0.4

Threshold below which the hedge warning appears.

evidenceTimestamp
Type stringDefault —

ISO timestamp of evidence — shows staleness note.

semantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?