Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vx/stats

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/stats

vx stats box violin

  • 0.0.179
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-2.55%
Maintainers
1
Weekly downloads
 
Created
Source

@vx/stats

npm install --save @vx/stats

BoxPlot

A boxplot shows the minimum, maximum, and quartiles of a dataset.

You can pass in props to target the min, max, median, and box (interquartile range) shapes using minProps, maxProps, medianProps, and boxProps.

If you are looking to add events over the each boxplot group you can pass in container={true} and containerProps={{ /** */ }}.

Properties

NameDefaultTypeDescription
classNamestringThe className for the boxplot
left0numberThe left offset of the boxplot
dataarrayAn array of data
maxnumberThe maximum value for boxplot
minnumberThe minimum value for boxplot
firstQuartilenumberThe value for the first quartile for the boxplot
thirdQuartilenumberThe value for the third quartile for the boxplot
mediannumberThe median value for the boxplot
boxWidthnumberThe width of the box
fillstringThe color of the box
fillOpacitynumberThe opacity of the box
strokestringThe color of the lines in boxplot
strokeWidthnumberWidth of the lines in boxplot
rx2numberThe x-axis radius for the box
ry2numberThe y-axis radius for the box
containerfalsebooleanSet to true and add containerProps = {{ /** */}} to add events to each boxplot group
maxProps{}objectProps passed to target the line shape for the maximum
minProps{}objectProps passed to target the line shape for the minimum
medianProps{}objectProps passed to target the line shape for the median
boxProps{}objectProps passed to target the rect shape for the box
containerProps{}objectProps passed to add events over each boxplot group (requires container={true})

Keywords

FAQs

Package last updated on 08 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc