Suggest you look at the book section "rendering a dictionary",  I use the json 
approach with d3, and then reference the URL in the js script.  Works great and 
should work for csv too.  This approach allows you to get the file formatted in 
the way d3 expects it, without trying to do it in js code.
I'm still working out the best approach of embedding the d3 js code in an app,  
controller (perhaps a hybrid of https://github.com/mikedewar/d3py), in the view 
or a separate js file. ?



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to