Implementation of statistics graphs