Integration attempt with d3 and Angular, difficulty converting to
directive-run graph