That is exactly the kind of script I have been looking for! The graph making is really the icing on the cake -- I had never planned anything that fancy.
Unfortunately, I can't make the code available at this time
since I wrote it while working for my employer. It might be a
possibility in the future with some more convincing. Maybe
we'll GPL it.