I dont suppose its open source is it? I'd really like to see how you've done it / what you used. Is it on gitHub?
UPDATE: @richthegeek, Thanks much appreciated.
UPDATE: @richthegeek, Thanks much appreciated.
A more update version of the graphing program (without the lastfm stuff) is visible at http://richthegeek.github.com/coffeegraph