GIFgraph.pm - example 1-3
The code.
NOTES
There was no data for the credits on the third and the debets on the 7th day.