The doc states that it contains “a rule to represent the extreme values (not including outliers)”. However, I want to the rule to extend to the 5th and 95th percentiles of the dataset.
Plot.plot({
y: {
grid: true,
inset: 6
},
marks: [
Plot.boxY(morley, {x: "Expt", y: "Speed", /*anything I can add here?*/})
/*or do something here?*/
]
})
How can I achieve that? I’m happy with whatever approach that works, including using D3.
You can create your own composite mark by following what we do for boxplot, but tweaking it to use p05 and p95 as boundaries for the rule and the dot marks: