created object of ajax data to pass to D3