callback for d3.json in xhr2 #944

Closed
edolis opened this Issue Dec 6, 2012 · 2 comments

3 participants

@edolis

I was trying to implement the progress events samples (http://bl.ocks.org/3750941) but I am not sure how to use the callback function.
In the example, I read d3.json("https://api.github.com/repos/mbostock/d3/git/blobs/2e0e3b6305fa10c1a89d1dfd6478b1fe7bc19c1e?" + Math.random())
I tried
d3.json("http:someURL",function(data){proceed(data);})

but it looks like the callback is not invoked.
Am I missing something? Is that the right way it is supposed to be called?

Thanks for your help.

@Trakkasure
@mbostock
D3 member

Yep. And if you want more help, please use Stack Overflow tag d3.js or the d3-js Google group. Thanks!

@mbostock mbostock closed this Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment