Ive installed GD on several machines.
I specifically use GD to generate .gif bar graph images from a database for survey results. See if there is anything here that help you. (Output is to HTML)
use GD::Graph::bars;
my @data = (
["A", "B", "C", "D", "E"],
[ $tally_A, $tally_B, $tally_C...