title: What modules/tools are available for drawing a graph from text/csv file in Perl or PHP?
body: <p>I have to draw a graph in Perl or PHP. Can you show me any sample code to read from the text or CSV file and plot a graph or chart of pie?</p>
  
  <p>Data would be like this sample in a CSV or text file:</p>
  
  <pre><code>01/01/2010  0 
  01/02/2010  1
  01/03/2010  2
  01/04/2010  3
  </code></pre>
  
  <p>Another set of data in text file for chart</p>
  
  <pre><code>Column A 20
  Column B 10
  Column C 02
  </code></pre>
  
  <p>I want to display the value for each column in my pie chart.</p>