Skip to content

Whiskers going the wrong way #73

@bzar

Description

@bzar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions