    country = 0
      } else {
        country = +country.split("-")[2];
      }
      return country;
    }

    //return the totalDeath number of given country
    function td(country) {
      if (country.split("-")[3] == undefined) {
        country = 0
      } else {
        country = +country.split("-")[3];
      }
      return country;
    }

    //////////////////////////////////////////////////////////////////////////




    //create the base map and set the initial view point
    var mymap = L.map