Use d3.csvParseRows() to read the string into an array.
I don't think you can show the progress with d3.csvParseRows().
To reduce the size of your git repo, you might consider following the steps in the link below to permanently delete the data.csv file. That will make it faster for others to git clone in the future, since they will avoid downloading the historical data.csv file.
The compressed data is about 3 times smaller in size:
61M data.csv 22M data.csv.gz
Steps:
Use
XMLHttpRequest()
to get thedata.csv.gz
file.Use pako to decompress the data into a string.
Use
d3.csvParseRows()
to read the string into an array.I don't think you can show the progress with
d3.csvParseRows()
.To reduce the size of your git repo, you might consider following the steps in the link below to permanently delete the
data.csv
file. That will make it faster for others togit clone
in the future, since they will avoid downloading the historicaldata.csv
file.https://help.github.com/articles/removing-sensitive-data-from-a-repository/