pulled chart into d3.json call