Graph version 1

Graph before integrating with statistics.js