vega / vega-lite

A concise grammar of interactive graphics, built on Vega.
https://vega.github.io/vega-lite/
BSD 3-Clause "New" or "Revised" License
4.64k stars 602 forks source link

request: boxplots + confidence interval notch #7499

Open dan-reznik opened 3 years ago

dan-reznik commented 3 years ago

Would love for vl's boxplots to be able to draw a confidence interval notch (as available in R), as here

One possible interface, notch_ci default is 0.95.

{
  "mark": "boxplot",
 "notch": true,
 "notch_ci": 0.95
}

This is an invaluable viz technique for both teaching and median comparison

domoritz commented 3 years ago

Interesting. I had not seen this before. If you want to add it, we would be happy to review a pull request.

dan-reznik commented 3 years ago

dominique thanks! yes, it is really useful for rapid comparison between two series.

I probably won't be able to work on coding it up till the last couple of months this year.

dan

On Mon, Jun 7, 2021 at 12:46 PM Dominik Moritz @.***> wrote:

Interesting. I had not seen this before. If you want to add it, we would be happy to review a pull request.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vega/vega-lite/issues/7499#issuecomment-856053035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD32VFX6M47SBHPSOSDRAB3TRTSV5ANCNFSM45YFBDCQ .

kanitw commented 3 years ago

@dan-reznik Looks like your link is no longer valid. I got

image

when I open it now. Any chance you could update the link? Thanks

kanitw commented 2 years ago

Since there is no reference to an example, I'll close this for now. Feel free to reopen if you can point to an example.

dan-reznik commented 2 years ago

Sorry I lost track of this issue -- here are updated images (googling "boxplot notch") gets us many other examples

image

image