Raincloud plots

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2792
    William
    Participant

      Hi

      Any possibility that datagraph may include raincloud plots in the future?

      se for example:

      Allen, M., et al. (2019). “Raincloud plots: a multi-platform tool for robust data visualization.” Wellcome Open Res 4: 63.

      Across scientific disciplines, there is a rapidly growing recognition of the need for more statistically robust, transparent approaches to data visualization. Complementary to this, many scientists have called for plotting tools that accurately and transparently convey key aspects of statistical effects and raw data with minimal distortion. Previously common approaches, such as plotting conditional mean or median barplots together with error-bars have been criticized for distorting effect size, hiding underlying patterns in the raw data, and obscuring the assumptions upon which the most commonly used statistical tests are based. Here we describe a data visualization approach which overcomes these issues, providing maximal statistical information while preserving the desired ‘inference at a glance’ nature of barplots and other similar visualization devices. These “raincloud plots” can visualize raw data, probability density, and key summary statistics such as median, mean, and relevant confidence intervals in an appealing and flexible format with minimal redundancy. In this tutorial paper, we provide basic demonstrations of the strength of raincloud plots and similar approaches, outline potential modifications for their optimal use, and provide open-source code for their streamlined implementation in R, Python and Matlab ( https://github.com/RainCloudPlots/RainCloudPlots). Readers can investigate the R and Python tutorials interactively in the browser using Binder by Project Jupyter.

      thanks

      William

       

      #2793
      dgteam
      Moderator

        Hi William –

        Thanks for pointing us to this article!  You can make raincloud graphs now in DataGraph 4.5 using a combination of commands.

        In fact, this is a really nice example to illustrate how you combine commands in DataGraph to create custom graphics.  And the smooth histogram was something we just added in version 4.5 that makes this graph possible.

        We uploaded an example that you can download from DataGraph with more details (File/Online Examples).

        Screenshot

        This example is based on the following Blog Post: https://micahallen.org/2018/03/15/introducing-raincloud-plots/

        Here is the version we did in DataGraph with a smooth option…

        Smooth

        On a technical note, we noticed that the version created from ggplot2 has the edges of the histograms cut off so they don’t go beyond the data.

        We have not done that in DataGraph as that would effect the underlying probability density function. If you reduce the smoothing window in DataGraph to 0.1, you reduce those edge effects. This also shows the patterns in the raw data.

        Smooth2

        We also included a histogram example.  This might not be as elegant as the smooth option but it shows the periodic nature of the underlying data more clearly.

        Histrogram

        Hope you can try out the file we uploaded and let us know what you think.

        FYI — We are also going to post an example based on the more recent paper.  With some customization, you could make any of the graphs you see in that paper using DataGraph!

        If there is any graph in particular you want demonstrated, let us know. Or if you have any questions on the example we posted.

        #2794
        William
        Participant

          Awesome, …..many thanks for the quick reply, thorough guidance and examples!

          Very much appreciated

          cheers William

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.