I'm trying to load a CSV file using D3.csv(MY_EXTERNAL_URL) function,but it doesn't load. Seems that it doesn't find the file itself.
Here is my code.
d3.csv ("http://localhost:8080/SOME_LINK", function (tuples) {
console.log(tuples);
//tuples is empty
});
However, when I copy/paste MY_EXTERNAL_URL on browser it downloads the CSV file instantly.
Any help would be much appreciated.
I'm thinking maybe I miss some headers?
Thanks in advance.