{
const margin = {
top: 25,
bottom: 25,
left: 25,
right: 25,
}
const width = 400
const height = 300
const svg = d3.create("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
const g = svg.append("g")
.attr("width", width)
.attr("height", height)
.attr("transform", `translate(${margin.left}, ${margin.top} )`)
g.append("rect")
.attr("width", width)
.attr("height", height)
.style("fill", "black")
return svg.node()
}