my $gd = $graph->plot(\@data) or die $graph->error;