Solved – this type of plot called with side-by-side centered horizontal density bars

data visualizationr

What would you call this type of plot, and is it possible to create them in R?

EDIT: many thanks all – very helpful.

enter image description here

Best Answer

Sorry I don't have enough street cred on CV to post a comment, where this is more appropriate, but here is a link to some code in R to perform something like what you've depicted, using base graphics to rotate histograms in place of the density function inherent in ggplot2:

from stack overflow: https://stackoverflow.com/questions/15846873/symmetrical-violin-plot-like-histogram

if someone with appropriate powers cares to move this from answer to comment, please do.

Related Question