Building a stats grapher