I would like to duplicate a BoxWhiskerChart, such as this:

enter image description here

but I do not have access to the full dataset that generated it. I'm happy to type in by hand summary statistics (such as mean, 25%, 75%, etc.), but cannot see how do to that given the raw function call requires a full data set.

In short, for the above I would be happy to enter by hand data of the following sort:


but of course this is not the proper format.

Any suggestions?


1 Answer 1


Use the Method suboption "BoxRange" -> Identity:

summaryStats = {{.3, .4, .55, .65, .9}, {.1, .2, .5, .55, .6}};

BoxWhiskerChart[summaryStats, Method -> {"BoxRange" -> Identity}]

enter image description here

Related Q/As:

  1. Tuning BoxWhiskerChart

  2. Possible to draw Boxplot using quartiles only?

  3. How to access box-and-whisker specifications from custom ChartElementFunction?

  • 1
    $\begingroup$ Oh... gee... I searched for such an option. But once again (this is getting ridiculous!), the great @kglr saves the day. ($\checkmark$) $\endgroup$ Commented Dec 28, 2021 at 3:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.