2

Actually I am facing with a problem. d3.json, d3.csv all of them send asynchronous request. So I am facing problem with a case in my visualization. I need to send synchronous request using d3.js so that it waits till data is loaded and can be used by following few lines of codes. If i can't do that following few lines are going to get null pointer exception. Do you have any idea how can i do this using d3.js? In ajax from jquery probably it was enough to keep a callback function. How can i do this in d3.js?

0 Answers0