Found:
http://stackoverflow.com/questions/14742953/d3-js-nested-selection-with-two-one-dimensional-arrays
http://stackoverflow.com/questions/4856717/javascript-equivalent-of-pythons-zip-function/10284006#10284006
This looks very interesting:
> JSON.stringify( zip(['abcde',[1,2,3,4,5]]) )
[["a",1],["b",2],["c",3],["d",4],["e",5]]
With this kind of command, I should be able to turn the three arrays into a variable that corresponds to a JSON array!
By jove, I think I've got it!!
No comments:
Post a Comment