chart = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, 1200]);
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
svg.append("g")
.selectAll("circle")
.data(data)
.join("circle")
.attr("cx", d => x(d.lng))
.attr("cy", d => y(d.lat))
.attr("r", 2)
return svg.node();
}