{
const width = 720;
const height = 360;
const x= 360;
const y = 180;
const svg = d3.create("svg").attr("viewBox", [0, 0, width, height]);
const bg = svg
.append("rect")
.attr("x", 0)
.attr("y", 0)
.attr("width", width)
.attr("height", height)
.attr("fill", "#000");
for (let i = 0; i < helloDataset.length; i++) {
svg
.append("circle")
.attr("cx", ( x+(helloDataset[i].long*2)))
.attr("cy", ( (y-(helloDataset[i].lat)*2)))
.attr("r", 2)
.attr("id", helloDataset[i].code)
.attr("fill","teal")
svg.append("text")
.attr("x", x+(helloDataset[i].long*2))
.attr("y", y-(helloDataset[i].lat*2))
.style('font-family','helvetica')
.style('font-size',6)
.style('fill','white')
.style('text-anchor','left')
.text( helloDataset[i].hello )
}
return svg.node();
}