chart = {
const width = 960,
height = 900;
const svg = d3.create("svg")
.attr("viewBox", [-60, 0, width, height]);
var projection = d3
.geoMercator()
.fitSize([width - 50, height - 50], zips);
var path = d3.geoPath().projection(projection);
var path2 = d3.geoPath().projection(projection);
var g = svg.append("g").attr("id", "paths");
g.selectAll("path")
.data(zips.features)
.enter()
.append("path")
.attr('class','outlines')
.attr("d", path)
.style("fill", "white")
.style('fill-opacity','.5')
.style("stroke-width", ".25")
.style("stroke", "#ccc")
g.selectAll("path")
.data(nycParks.features)
.enter()
.append("path")
.attr('class','outlines')
.attr("d", path)
.style("fill", "red")
.style('fill-opacity','.25')
.style("stroke-width", ".2")
.style("stroke", "rgb(255,0,0)")
g.selectAll("path2")
.data(subway_lines.features)
.enter()
.append("path")
.attr('class','outlines')
.attr("d", path)
.style('fill-opacity','0')
.style("stroke-width", ".35")
.style("stroke", "rgb(0,0,0)")
g.selectAll("circle")
.data(subSts.features)
.enter()
.append("circle")
.attr('cx',function(d) {return path.centroid(d)[0]})
.attr("cy",function(d) {return path.centroid(d)[1]})
.attr('r',1.5)
.attr('fill','black')
.style('fill-opacity','.9')
return svg.node();
}