Stats graph implementation