Created
March 16, 2020 08:18
-
-
Save danleyb2/96866f100525a75a13c388408ac898f2 to your computer and use it in GitHub Desktop.
Fetch Csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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