I have 17 size distributions for different coral species, and I would like to be able to compare these distributions in one plot. However, the distributions are very different, so when I naively tried to overlay their density plots, many of the distributions were so small compared to the largest one that they were just crowded into the bottom-left corner.
Is there a better way to visualize these distributions in one plot which will allow me to compare relative sizes as well see the distribution within species?
Best Answer
Perhaps a joy plot would bring you happiness?
http://austinwehrwein.com/data-visualization/it-brings-me-ggjoy/
This plot shows 12 months of temperature data with a separate histogram for each month. The histograms are sort of layered over each other. For this example, you'll need to download the CSV of data from the link, then the code is as follows:
UPDATE
The necessary dataset is now included with the
ggjoy
package, so instead of downloading the CSV file, you can just run the following code to get a very similar plot: