chart1 = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, 1000, 1000]);
const color = d3.scaleSequential().interpolator(interpolateTerrain).domain(d3.extent(tricontoursGen, (d) => d.value));
svg.append("g")
.selectAll("path")
.data(tricontoursGen)
.join("path")
.attr("fill", (d, i) => color(d.value))
.attr("d", d3.geoPath());
return svg.node()
}