I'm sorry, but I don't have anything that I could pass on to you right now. I can tell you how I implemented this, though. I wrote a simple parser for the scores.html files that the game can generate. For the initial per-turn charts, I used the column/bar Flash graph libraries from
amCharts and for the later MySQL-backed graphs I used the JavaScript library
Flotr, I think, or its predecessor
Plotr. The flash graphs needed the input formatted as XML, I don't remember what the input format for the other graphs was, maybe CSV. Both could be supplied inline in the dynamically generated HTML - rendering was done on the client side. I picked both because they only require a small number of files on the webserver, so it's very manageable.
Here's a list of national colors, which you might be interested in when plotting:
http://www.shrapnelcommunity.com/thr...?Number=561877