wardsSvg = function(geoJsonFeaturesCollection) {
const height = 1.3 * width;
const projection = d3.geoMercator()
.fitSize([width, height], geoJsonFeaturesCollection);
const pathGenerator = d3.geoPath()
.projection(projection);
const svg = d3.create('svg')
.attr("viewBox", [0, 0, width, height]);
svg.append('g')
.selectAll('path')
.data(geoJsonFeaturesCollection.features)
.enter()
.append('path')
.attr('d', pathGenerator)
.attr('fill', d => 'lightSkyBlue')
.append('title')
.text(d => 'Ward ' + d.properties.ward);
return svg.node();
}