I'm aware that I can add a header to a D3 JSON request by doing the following:
d3.json("http://localhost:8080/data")
.header("Application-ID", "1")
But how do I add this header when using queue's defer?
queue()
.defer(d3.json, "http://localhost:8080/data")