Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

callback for d3.json in xhr2 #944

Closed
edolis opened this Issue · 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
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.