use Chart::Pie; my $chart = Chart::Pie->new(640,480); $chart->set( 'title' => 'A Day in the Life', 'x_label' => 'X Axis Label', 'y_label' => 'Y Axis Label' , 'label_values' => 'percent', # tell me percentage of # each day spent on # each activity 'x_ticks' => 'none', 'y_ticks' => 'none', ); $chart->add_dataset( qw(Junk_X_Tick_Label) ); $chart->add_dataset( qw(8) ); $chart->add_dataset( qw(8) ); $chart->add_dataset( qw(2) ); $chart->add_dataset( qw(6) ); $chart->set('legend_labels' => [ 'Sleep', 'Work', 'Eat', 'Watch TV' ]); $chart->gif('pie.gif');