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

@vx/boxplot

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/boxplot

vx box plot

  • 0.0.182
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@vx/boxplot

npm install --save @vx/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 12 Dec 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