<?php
include ("jpgraph/jpgraph.php");
include ("jpgraph/jpgraph_pie.php");
include ("jpgraph/jpgraph_pie3d.php");
$graph = new PieGraph(250, 200, "auto");
$graph->SetFrame(true);
$data = array(45, 23, 18, 32);
$pieplot = new PiePlot3d($data);
$graph->Add($pieplot);
$graph->Stroke();
?>