Skip to content

BoxViolinPlot

beta

D3-powered box/violin plot for risk distribution visualization — VaR distributions, return spreads, yield curve analysis, stress-test scenarios

FinanceInteractive/Storybook ↗
import { BoxViolinPlot } from "@danagraph/design-system/finance"
Loading demo…

Props

seriesrequired
Type BoxViolinSeries[]Default —

Array of series with label and numeric values array

showViolin
Type booleanDefault —

Show KDE violin density overlay (default true)

showOutliers
Type booleanDefault —

Show outlier dots beyond Tukey fences (default true)

width
Type numberDefault —

SVG width in px (default 560)

height
Type numberDefault —

SVG height in px (default 360)

valueLabel
Type stringDefault —

Axis label for the value dimension

title
Type stringDefault —

Accessible chart title

semantictypeborderviz
MobileStacks / Scroll

Box/violin plot requires min 320px for legible box widths. Groups collapse gracefully at narrow widths.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?