Get data from rest service using D3
Look at the documentation. Here is an example:
d3.json('http://localhost/RestService/GetTransactionByStatus/' + id, function(data) {
console.log(data.transactionConcil);
});
As of d3 v5, this has become
d3.json('http://localhost/RestService/GetTransactionByStatus/' + id)
.then(function(data) {
console.log(data.transactionConcil);
});