Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fetch Csv
// const csvFile = 'latest_by_country.csv';
// fetch(csvFile).then(function(response) {
//
// return response.ok ? response.text() : Promise.reject(response.status);
//
//
// }).then(function(text) {
// console.log(text);
//
// });a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment