I would guess D3 would be faster if fed JSON (which is already Javascript) 
rather than having to first parse CSV.

Anthony

On Tuesday, June 25, 2013 3:59:48 PM UTC-4, Andrew W wrote:
>
> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to