first version of statistics plot