Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to draw the D3.js bubble chart using web workers ??

I am getting unresponsive script error while loading JSON data of more than 2 mb into the browser ??

Can any one tell how can I make it possible ??
Posted
Comments
Sebastiaan Meijerink 14-May-15 14:03pm    
These are two questions. Without the code we cannot tell you why it hangs on loading you're 2mb data. As to the webworker drawing a chart. It cannot. Webworkers have no access to the DOM, this is where the canvas element lives, and where the svg embed lives, althoug you could write the raw svg xml in a webworker. But I do not believe that the D3.js library has been designed like that. What are you trying to accomplish?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900