Fixed the issue with the copy of data in d3
Need to submit the data to server