create PullRequestData class to handle data functions
pull out graph code to reusable chart class