generates statistics graph for gerrit using RESTful api