Using ggplot2, can I insert a break in the axis?

后端 未结 7 1864
我寻月下人不归
我寻月下人不归 2020-11-22 03:27

I want to make a bar plot where one of the values is much bigger than all other values. Is there a way of having a discontinuous y-axis? My data is as follows:



        
7条回答
  •  臣服心动
    2020-11-22 03:48

    No, unfortunately not

    The fear is that allowing discontinuous axes will lead to deceit of the audience. However, there are cases where not having a discontinuous axis leads to distortion.

    For example, if the axis is truncated, but usually lies within some interval (say [0,1]), the audience may not notice the truncation and make distorted conclusions about the data. In this case, an explicit discontinuous axis would be more appropriate and transparent.

    Compare:

提交回复
热议问题