-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More examples #133
base: main
Are you sure you want to change the base?
More examples #133
Conversation
example/box-whisker-mode.md
Outdated
@@ -0,0 +1,41 @@ | |||
# Using a Different Box and Whisker Mode | |||
|
|||
Mode in a Box and Whisker plot changes the extent of the whiskers. The [BoxWhisker](http://d3plus.org/docs/#BoxWhisker) mode defaults to being `tukey`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make into one paragraph:
The "mode" of a Box and Whisker plot changes the placement of the extent of the whiskers. The [`BoxWhisker`](http://d3plus.org/docs/#BoxWhisker) class defaults to using the "[tukey](https://en.wikipedia.org/wiki/Box_plot#Variations)" method, but this can be changed by setting the `whiskerMode` property of the [`Box`](http://d3plus.org/docs/#Box) shape class using [shapeConfig](http://d3plus.org/docs/#Viz.shapeConfig). Accepted values are `"tukey"`, `"extent"`, or an Array of 2 numbers used as the bottom and top percentile.
Also, double check me on that description of using 2 numbers 👆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description is correct, but passing array of numbers is breaking the code. Will try to fix it.
Description
closes#133
Types of changes
Checklist
Checklist of new examples