svg = {
const svg = html`<svg id = "svg"></svg>`
const container = d3.select(svg)
container.append("circle")
.attr("r",50)
.attr("fill","cornflowerblue")
.attr("stroke","black")
.attr("cx",300)
.attr("cy",150)
.on("click",function(){
const target = d3.select(this)
const currentColor = target.attr("fill")
if(currentColor == "cornflowerblue"){
target.attr("fill","tomato")
}else{
target.attr("fill","cornflowerblue")
}
})
return svg
}