Create easy d3 graphs with a helper