How to Compress Large CSV files and Load

229 views
Skip to first unread message

ragav s

unread,
May 28, 2014, 2:22:29 AM5/28/14
to d3...@googlegroups.com
Hi,

I want to compress csv file of 50 MB data and load using d3.csv.
I'm a newbie in d3 js. Please help.

--
ragavs


Jeremy Darling

unread,
May 29, 2014, 12:03:41 AM5/29/14
to d3...@googlegroups.com
CSV is CSV, there is no compression available.  If your server and browser support GZip you can enable that and it will greatly speed things up.

You could also use something like jszip (http://stuk.github.io/jszip/) to decompress a zipped stream response from the server then feed it into a CSV parser (many to choose from or use D3's)
Reply all
Reply to author
Forward
0 new messages