in reply to Chart::Gnuplot CGI

Add the following line when you initiate the chart object:

terminal => 'svg',

and don't specify the filename. Then it will output the chart to STDOUT in SVG format. You can then embed the SVG code in the HTML file directly.