mbostock/d3 — pull request #811 by ZJONSSON (2012-09-18 15:56:42+00:00)
Title: Xhr post

Here I have a different approach to the AJAX request. I delay the execution to next tick, allowing the various parameters to be set by chaining (method, headers and data).

By default the function is a GET request without any data (backwards compatible)