in reply to Coaking GDGraph to work...

DBD::Chart lets you build charts and graphs with SQL statements. You can easily take a result set from one db call, pass it in, and get a chart back with minimal work on your part.