added simple stats calculation on graphicVisualizer