Working version of statistics plot