grafica = {
const svg = d3.create("svg")
.attr("viewBox", [0,0,width,height]);
const freezingTempPlacement = yScale(0)
svg.append("rect")
.attr("x", margin.left)
.attr("width", boundedWidth - margin.left)
.attr("y", freezingTempPlacement)
.attr("height", boundedHeight - freezingTempPlacement)
.attr("fill", "#E0F3F3")
svg.append("g")
.attr("transform", `translate(${margin.left},0)`)
.call(yAxisGenerator)
svg.append("g")
.attr("transform",`translate(0,${boundedHeight})`)
.call(xAxisGenerator)
svg.append("path")
.attr("d", lineGenerator(dataset))
.attr("fill","none")
.attr("stroke", "#19267c")
.attr("stroke-width", 1.2)
return svg.node();
}