# Best type of graph to represent data tested with the Mann-Whitney U-test

I am using a Mann-Whitney U test to compare the willingness between subjects to once monthly injection between two groups. One group is a control while the other is the intervention. I am expanding on a question I had asked here:

What test would you use for my data. I think independent t-test?

Because I am using the Mann-Whitney U test, I am calculating the median of both groups. As such, what would you recommend as the best way to visually depict my data?

I was wondering if a simple bar chart be acceptable? Like the one shown below? It shows the median of both groups. Or would a box plot be more instructive, as pointed out by one of the users.

A portion of my data can be found below: (My data has 100 subjects, with n=50 in each group)

GROUP      Willingness
(from 1-10)
-----------------------
Group1        10.00
Group1         1.00
Group1         4.00
Group2         7.00
Group1         9.00
Group2        10.00
Group2        10.00
Group2         3.00
Group2         7.00
Group2        10.00
Group2        10.00
Group2         1.00
Group2         9.00
Group2         4.00
Group1         7.00
Group2         3.00
Group1         5.00
Group2         5.00
Group2        10.00
Group1         1.00
Group2        10.00
Group2         9.00
Group1         3.00
Group1         1.00
Group1         1.00
Group2         8.00
Group1         1.00

• This chart does not show your data: it merely depicts the two medians.
– whuber
Jan 8, 2017 at 19:31
• It also doesn't show the results of your test. Jan 8, 2017 at 19:32
• I'm voting to close this question as off-topic because this question is of very poor quality Jan 8, 2017 at 19:34
• My apologies for the poorly worded question. I was expanding on a question I had asked here: stats.stackexchange.com/questions/246822 where I was comparing the willingness between once monthly injection between both groups. As I understand, a box plot would be more appropriate. Jan 8, 2017 at 19:42
• Note that the Mann-Whitney test doesn't compare medians, and indeed sample medians can differ in the opposite direction from that indicated by the test! This would suggest that displays that rely on medians to indicate location -- including boxplots -- may be less than ideal. Jan 9, 2017 at 3:25