> <b>' + "" + '</b></i>'
          });
        }
      }

    }).addTo(mymap);


    //load all datasets through d3 and store them in an array
    Promise.all([
      d3.csv('assets/virus.csv'), //datasets[0]
      d3.json("assets/all-topo-15.json"), //datasets[1]
      //d3.csv('assets/communities.csv'), //chinese cases
      d3.csv('assets/timestamp.txt'), //datasets[3]
      d3.csv('assets/cases.csv'), //America cases
      d3.csv('assets/united-states.txt'), //datasets[5]
      d3.csv('assets/canada-cit