title: Plotting an image (ggplot2) with decreasing order from the central zone for 2 variables
body: <p>I am trying to make a plot like the following:
  <a href="https://i.stack.imgur.com/6yb9B.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6yb9B.jpg" alt="PLot" /></a></p>
  <p>But I have no idea about to merge 2 plots from 2 different database,</p>
  <pre><code>`p1 &lt;- ggplot(data = df, aes(x , y)) + geom_point( size=3, color=&quot;black&quot;) + geom_segment(aes(xend=x, yend=0))
  
  
  p2 &lt;- ggplot(data = df2, aes( x, y)) + geom_point( size=3, color=&quot;black&quot;) + geom_segment(aes(xend=x, yend=0))`
  </code></pre>
  <p>And how can I add the central segment with &quot;total costs&quot;
  <strong>I have tried to use the simplest possible code to make it easier to understand.</strong>
  Thanks so much for your help.</p>