/code> directly is that
<code>geom_density_ridges</code> provides automatic scaling.</p>
<p>As an example, assume we have calculated density curves for the
<code>Sepal.Length</code> column in the <code>iris</code> dataset:</p>
<div class="sourceCode" id="cb29"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://dplyr.tidyverse.org" 