I am new to js & d3.js. please keep this in mind while reading. Currently i am converting csv data to javascript array using papa parse library rather than inbuilt d3.csv() method. d3.csv() is converting data to array of objects and many d3 methods like nest() using the key value notation. How can i use methods like nest() with data in array of arrays format rather than array of objects ? Reason i am not converting data to json is data is not known before and i cannot take the attributes until the file is parsed. For instance, accessing values with d.name is not possible for me as data i am accessing is by index value d[0]. I read here, http://learnjsdata.com/getting_started.html, D3's functions for reading data require you be running the page from a server. currently, i am doing visualization from client side with no server involved. Should i use server ? Thank you for your help, |
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.