mapOfUSA = {
const map = topojson.feature(scaledDownTopo, 'counties')
const width = 800
const height = 700
const svg = d3.create("svg")
.attr('width', width)
.attr('height', height)
const path = d3.geoPath()
const mapData = map.features.map((d, i) => ({
d: path(d),
centroid: path.centroid(d),
fill: 'purple'
}))
const drawMap = (el) => {
el.selectAll('path')
.data(mapData)
.join('path')
.attr('d', d => d.d)
.style('fill', d => d.fill)
}
const g = svg
.append('g')
drawMap(g)
return svg.node()
}