worldMap = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height])
.attr("style", "background-color:"+colorschemes[colorScheme]['water']);
const defs = svg.append("defs");
defs.append("path")
.attr("id", "outline")
.attr("d", path(outline));
defs.append("clipPath")
.attr("id", "clip")
.append("use")
.attr("xlink:href", new URL("#outline", location));
const g = svg.append("g")
.attr("clip-path", `url(${new URL("#clip", location)})`);
g.append("use")
.attr("xlink:href", new URL("#outline", location))
.attr("id", "water")
.attr("fill", colorschemes[colorScheme]['water']);
g.append("path")
.attr("id", "land")
.attr("d", path(land))
.attr("fill", colorschemes[colorScheme]['land']);
return svg;
}