title: Create pie chart from php using mysql table
body: <p>I have a mysql table like below</p>
  
  <pre><code>buy_trader    qty
  --------------------
  abc          48000
  xyz          40000
  pqr          35000
  Others       88000
  </code></pre>
  
  <p>I need to create a pie chart from these values using PHP code. Can someone please help me with this. I need to show the percentages of qty out from the total value in the pie chart.</p>
  
  <p>please help me with this</p>