boxplot experiment
borntofrappe opened this issue · comments
Gabriele Corti commented
researching d3-scale I thought you can actually find quantiles without using d3.quantile directly
- try to find quantiles with d3.scaleQuantile instead of d3.quantile
- as a proof of concept implement the solution to draw a boxplot matching the one highlighting the corresponding Wikipedia page
Gabriele Corti commented
A basic visual which hides plenty of D3 concepts:
node,
appendChildand
cloneNode` to repeat the path elements (and frame the data in between the axis)each
to iterate through the selection of groupsscaleQuantile
to extract the boxplot valuesdatum
to bind the quantiles to a single group elementmarker
to delimit the whiskers