beeeee = {
var svg = d3.select(DOM.svg(width, height))
.attr("width", width+"px")
.attr("height", height+"px");
const x = d3.scaleLinear().range([20,width-20]).domain(d3.extent(bees))
const y = d3.scaleLinear().range([20,width-20]).domain(d3.extent(flowers))
svg.selectAll("line.connections").data(relationships).enter().append("line")
.attr("class","connections")
.attr("x1",d=>x(d[0]))
.attr("y1",height/3)
.attr("x2",d=>y(d[1]))
.attr("y2",height*2/3)
.style("stroke","black")
.style("stroke-width","1px")
svg.selectAll("circle.bees").data(bees).enter().append("circle")
.attr("class","bees")
.attr("cx",d=>x(d))
.attr("cy",height/3)
.attr("r", 10)
.style("fill", "yellow")
svg.selectAll("circle.flowers").data(flowers).enter().append("circle")
.attr("class","flowers")
.attr("cx",d=>y(d))
.attr("cy",height*2/3)
.attr("r", 10)
.style("fill", "blue")
yield svg.node();
}