chart = {
const width = 400;
const height = 400;
const svg = d3
.create("svg")
.attr("viewBox", [400, 150, width, height])
.attr("width", width)
.attr("height", height);
const g = svg.append("g");
var path = d3
.geoPath()
.projection(d3.geoMercator().center([-125.13, 54.8]).scale(300));
g.selectAll("path")
.data(world.features)
.enter()
.append("path")
.attr("d", path)
.style("stroke", "black")
.style("fill", "none");
return svg.node();
}