<div>Sean,</div><div><br></div>I just finished a project creating bar and line charts.  I tried and liked &quot;flot&quot; alot, but it couldn&#39;t exactly do what I wanted.  So I abandoned it and ended up using jqplot.  jqplot uses a hugely popular and powerful javascript library called jquery.  With jqplot, you have perl create a JSON formatted string of your data, axis labels, title, etc, and give it to jqplot.  jqplot then uses javascript to plot it by inserting the plot/chart/graph in an empty &lt;div&gt; on your webpage.  Pretty slick.  <div>

<br></div><div>I&#39;ve attached a test HTML file that shows output generated from perl code.  You would use something like this in your perl after creating $json &amp; $opts:</div><div><div><br></div><div>   # TrendChart</div>

<div>    $JQPLOT  = qq(</div><div>        \$(document).ready(function () {</div><div><br></div><div>           var graph = $json;</div><div>           \$.jqplot(&#39;chart3&#39;, graph.data, $opts)</div><div>         });</div>

<div>    );</div><div><br></div><div>You&#39;ll need to download and install jquery and jqplot and adjust the &lt;script&gt; tag paths to make it work.</div><div><br></div><div>ydy</div><div><br clear="all">
<br><div class="gmail_quote">On Thu, Aug 26, 2010 at 9:19 AM, Sean Blanton <span dir="ltr">&lt;<a href="mailto:sean@blanton.com">sean@blanton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I followed this month&#39;s exchange on Google Visualizations, but that&#39;s out for me since it requires internet connectivity. What other packages would people recommend? I assume a JavaScript based package is the modern way to go. What about Protovis?<div>



<br></div><div>I basically want to pull data from a database and chart it with Perl - time series, scatter plots, bar graphs - simple things on a local network. Chrome browser. It&#39;s possible I might want to do something more interesting later down the road.</div>



<div><br></div><div>Not being a web guy, what general approach would you recommend? I breathe Moose, DBI, XML and infrastructure every day, but not so much JavaScript, though I&#39;m always up for new things!.</div><div>


<br>
</div><div>Thanks,</div><div>Sean<br><div><br>
</div></div>
<br>_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" target="_blank">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br></blockquote></div><br></div></div>