Here’s a simple way to create a pie chart from PHP. Thanks to rasmus of peters1.dk
Required from PHP-installation:
This script requires GD 2.0.1 or later to be installed on your webserver.
This script requires JPG Support enabled.
Sample Output
Include the chart in your site just by calling the script like a picture, with parts and labels as attributes:
img src=“chart.php?data=60*20*15*16&label=Google*Yahoo *MSN*Yehey”>





Comments
There are no comments for this post.
Write a Comment