in reply to Question about using hash indexes with GD::Graph
I still don't think that will solve the problem of the error. I would agree with jeffa on how to format your data but your 2nd to the last line I think is what is hanging you up. This is my suggestion:
print IMG $gd->plot(\@data)->png;
In Section
Seekers of Perl Wisdom