Any way to speed up d3.csv on large files?

Many large CSV files can be significantly compressed, for example, gzip. Is there a way to speed up D3 in large CSV files by reducing the amount of data that needs to be transferred over the Internet in javascript in a browser. For example, if I have a 30 MB CSV file foo.csv that is compressed to a 9 MB foo.csv.gz file, can I transfer the smaller file and configure D3 to decompress it before doing the rest of the d3.csv processing.

+6
source share
1 answer

No. D3 does not provide any functions for processing compressed files. You can use a third-party library such as JSZip , but then you cannot directly use d3.csv .

+1
source

Source: https://habr.com/ru/post/949608/


All Articles