title: How to plot stacked bar graph using R
body: <p>How to create a stacked bar graph using R-Language with x-axis is <code>CODE</code>, the <code>TYPE</code> is stacked in one <code>CODE</code> and the y-axis is <code>COUNT</code>. I have tried it since last 2 weeks and I never get a proper bar graph yet. </p>
  
  <pre><code>COUNT      TYPE    CODE
     31        GJ     PUM
    161        GO     PUM
     12       GL2     PUM
      9        GJ     SOP
      8        GO     SOP
      8       GL2     SOP
    456        OL     SOP
    912        KL     SKQ
  </code></pre>