After just having spent a couple days wrestling with g.raphael.js, I would recommend against it. The documentation is vague and incomplete, the generated graphs are inconsistent (e.g., points placed outside of axes), simple bugs with fixes in pull requests have been sitting for months with no response...honestly it looks abandoned.