y.txt'), //datasets[6]
      d3.csv('assets/old-name.csv'), //datasets[7] chinese provinces
      d3.csv('assets/cases-canada.csv') //datasets[8]
    ]).then(function(datasets) {

      //read the timestamp in timestamp.txt and add it to map
      $("#date").text(datasets[2][0].timestamp.split(".")[0] + " PST");

      //read data from communities.csv and add each case on to the map with given information
      //cases in china
      //datasets[2].forEach(function(d) {
      //  L.marker([parseFloat(d.lat),