@vx/stats

Installation

npm install --save @vx/stats

Components

API

<BoxPlot />

# BoxPlot.boxProps<object>
Default{}

# BoxPlot.boxWidth<number>

# BoxPlot.children<func>

# BoxPlot.className<string>

# BoxPlot.container<bool>
Defaultfalse

# BoxPlot.containerProps<object>
Default{}

# BoxPlot.fill<string>

# BoxPlot.fillOpacity<union(number|string)>

# BoxPlot.firstQuartile<number>

# BoxPlot.horizontal<bool>

# BoxPlot.left<number>
Default0

# BoxPlot.max<number>

# BoxPlot.maxProps<object>
Default{}

# BoxPlot.median<number>

# BoxPlot.medianProps<object>
Default{}

# BoxPlot.min<number>

# BoxPlot.minProps<object>
Default{}

# BoxPlot.outlierProps<object>
Default{}

# BoxPlot.outliers<array>
Default[]

# BoxPlot.rx<number>
Default2

# BoxPlot.ry<number>
Default2

# BoxPlot.stroke<string>

# BoxPlot.strokeWidth<union(number|string)>

# BoxPlot.thirdQuartile<number>

# BoxPlot.top<number>
Default0

# BoxPlot.valueScale<func>

<ViolinPlot />

# ViolinPlot.children<func>

# ViolinPlot.className<string>

# ViolinPlot.count<func>
Defaultd => d.count

# ViolinPlot.data<array> required

# ViolinPlot.horizontal<bool>

# ViolinPlot.left<number>
Default0

# ViolinPlot.top<number>
Default0

# ViolinPlot.value<func>
Defaultd => d.value

# ViolinPlot.valueScale<func>

# ViolinPlot.width<number>