score:1

Accepted answer

The data in the callback of d3.csv("py/Resources.scv") would hold everything that you need. I do not know your specific structure of code but you can go the simple way first of doing drawing and everything inside that callback

WHich mean CreateLight should be inside of GetData


Related Query

More Query from same tag