Creating a graph with d3 and the sunlight foundation api