{
const width = 900;
const height = 600;
const projection = d3.geoEquirectangular()
.fitExtent([[0, 0], [width, height]], Andrapradesh);
const geoGenerator = d3.geoPath().projection(projection);
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height);
svg.selectAll("path")
.data(Andrapradesh.features)
.enter()
.append("path")
.attr("d", geoGenerator)
.attr("fill", "black")
.attr("stroke", "white")
.attr("stroke-width", 1);
return svg.node();
}