{
d3.select('.world-india-without-disputed > svg').remove()
const width = 600;
const height = 600;
const d3SelectionOfSVGCanvas = d3.select('.world-india-without-disputed')
.append('svg')
.attr('class', 'my-canvas')
.attr('width', width)
.attr('height', height)
var g = d3SelectionOfSVGCanvas.append("g");
var url = "https://raw.githubusercontent.com/shriphani/india_in_data/master/geojson/countries.geojson";
const json = await d3.json(url);
var projection = d3.geoMercator().rotate([-78.9629,0]).fitSize([width, height], json);
var path = d3.geoPath().projection(projection);
d3SelectionOfSVGCanvas.selectAll("path")
.data(json.features)
.enter()
.append('path')
.attr('d', path)
.style('fill', function(d, i) {if (d.properties.ADMIN == "India") { return d3.color("red ") }})
return d3SelectionOfSVGCanvas.node();
}