{
const width = 500;
const height = 500;
const stateGeoJSON = {
type: "FeatureCollection",
features: state.features
};
const projection = d3.geoEquirectangular()
.fitExtent([[0, 0], [width, height]], stateGeoJSON);
const geoGenerator = d3.geoPath().projection(projection);
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height);
svg.selectAll("path")
.data(stateGeoJSON.features)
.enter()
.append("path")
.attr("d", geoGenerator)
.attr("fill", "#cce5df")
.attr("stroke", "#333")
.attr("fill", "black")
.attr("stroke", "white")
.attr("stroke-width", 1); ;
return svg.node();
}