Skip to content
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

Whiskers going the wrong way #73

Open
bzar opened this issue May 12, 2022 · 0 comments
Open

Whiskers going the wrong way #73

bzar opened this issue May 12, 2022 · 0 comments

Comments

@bzar
Copy link

bzar commented May 12, 2022

For small datasets with outliers the whiskers sometimes end up inside the box. For example
boxplotStats([0, 0.8, 0.8, 1]).whiskers produces
[ { "start": 0.8, "end": 0.6000000000000001 }, { "start": 1, "end": 0.8500000000000001 } ]
and d3box.boxplotStats([0, 0.8, 0.8, 1]).boxes produces
[ { "start": 0.6000000000000001, "end": 0.8 }, { "start": 0.8, "end": 0.8500000000000001 } ]
Making the left whisker start at the median point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant