{
const svg = d3.create('svg')
.attr('width', visWidth + margin.left + margin.right)
.attr('height', visHeight + margin.top + margin.bottom);
const g = svg.append('g')
.attr('transform', `translate(${margin.left}, ${margin.top})`);
g.selectAll('path')
.data(geoJSON.features)
.join('path')
.attr('d', path)
.attr('stroke', 'white')
.attr('fill', d => regionColor(d.properties.REGION_WB));
g.append('path')
.attr('d', path(mapOutline))
.attr('stroke', '#aaaaaa')
.attr('fill', 'none');
return svg.node();
}