{
const margin = 0
const height = 500 - margin * 2
const width = 1000 - margin * 2
const container = d3.select(DOM.svg(width + margin * 2, height + margin * 2))
const svg = container.append('g')
.attr('transform',`translate(${margin},${margin})`)
svg.selectAll('path')
.data(dataset.features)
.enter()
.append('path')
.attr('d', d => {
return pathGenerator(d)
})
.attr('fill', d => {
return d3.interpolateBuPu(d.properties.boroughCode / 5)
})
.attr('stroke', '#999999')
return container.node()
}