I\'m using d3.json to get a dynamic data.
d3.json(\"/myweb/totalQtyService.do\", function(json) { drawChart(json); });
How do I post
You could also try this:
d3.json(url,function(error, data) { ... }) .header("Content-Type","application/json") .send("POST", JSON.stringify({year: "2012", customer: "type1"}));