Datastore Capacity

I was asked if there was a way to create a graph for Datastore usage, after messing for 5 minutes I came up with the following......