How can I create a pie chart from the data in MySQL?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • euniceee
    New Member
    • Mar 2008
    • 3

    How can I create a pie chart from the data in MySQL?

    I am a newbie in php and I am just wondering will it bepossible if I retrieve the data from mySQL and create a pie chart without installing those GD library and stuff? If yes, how can I do it? I have tried to use JSP, however it's not a good option for creating a pie chart. Thank you very much.
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Originally posted by euniceee
    I am a newbie in php and I am just wondering will it bepossible if I retrieve the data from mySQL and create a pie chart without installing those GD library and stuff? If yes, how can I do it? I have tried to use JSP, however it's not a good option for creating a pie chart. Thank you very much.
    Search on the google for pie chart PHP, you will find many classes which you can easily use to get pie charts with your data.

    If you want o create it yourself, you would need to do that with GD Library.
    Find the documentation here

    Comment

    • Chibani
      New Member
      • Mar 2008
      • 8

      #3
      You can try to draw your pie with SVG, but I'm not sure that it will easier than using a "GD using" php lib.
      I'm using the libchart which is really easy to use.

      good luck

      Comment

      Working...