grafica = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height])
const bounds = svg.append("g")
.style("transform", `translate(${dimensions.margin.left}px, ${dimensions.margin.top}px)`)
drawDots(dataset, "#19267C", bounds)
const xAxis = bounds.append("g")
.call(xAxisGenerator)
.style("transform", `translate(0, ${dimensions.boundedHeight}px`)
const xAxisLabel = xAxis.append("text")
.attr("x", dimensions.boundedWidth / 2)
.attr("y", dimensions.margin.bottom - 10)
.attr("fill", "black")
.style("font-size", "1.4em")
.html("Dew Point (°F)")
const yAxis = bounds.append("g")
.call(yAxisGenerator)
const yAxisLabel = yAxis.append("text")
.attr("x", -dimensions.boundedHeight / 2)
.attr("y", -dimensions.margin.left + 10)
.attr("fill", "black")
.style("font-size", "1.4em")
.text("Relative humidity")
.style("transform", "rotate(-90deg)")
.style("text-anchor", "middle")
const title = bounds.append("g").append("text")
.attr("x", 0)
.attr("y", 0)
.attr("fill", "black")
.attr("font-size", "1.6em")
.text("Probando algo...")
.style("text-anchor", "left")
return svg.node()
}