chartZip = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, 975, 610]);
svg.append("g")
.attr("transform", "translate(610,20)")
.append(() => legend({color, title: data.title, width: 260}));
svg.append("g")
.selectAll("path")
.data(topojson.feature(zip3topojson, zip3topojson.objects.zip3).features)
.join("path")
.attr("fill", d => color(zoneData.get(d.id)))
.attr("d", path)
.append("title")
.text(d => `${d.properties.zip}`);
return svg.node();
}