title: Create a "smooth" filled plot using ggplot
body: <p>I have the following dataset:</p>
  
  <pre><code>value &lt;- c(0.1,0.2,0.1,0.3,0.3,0.2,0.2,0.4,0.1,0.1)
  emotie &lt;- c(0,1,2,3,4,0,1,2,3,4)
  period &lt;- c(1,1,1,1,1,2,2,2,2,2)
  
  df_test &lt;- data.frame(value, emotie, period)
  </code></pre>
  
  <p>And - using ggplot - I create the following graph:</p>
  
  <pre><code>library(ggplot2)
  ggplot(df_test) + aes(x=factor(period), fill=factor(emotie))+geom_bar(position="fill")
  </code></pre>
  
  <p>This works, however I would like to create a better - and more smooth looking graph like this. </p>
  
  <p><a href="https://i.stack.imgur.com/eSjYh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eSjYh.jpg" alt="enter image description here"></a></p>
  
  <p>Any thoughts on what I should change to create this?</p>