layout = {
let height = 250
let clickFlag = false
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height])
let node = svg.selectAll("circle")
.data(dataPoint)
.join("circle")
.attr("cx", (d,i) => 150*(i+1) )
.attr("cy", height/2)
.attr("r", 50)
.attr("fill", "#CCC")
.on('mousemove', function(event, d) {
nodeMouseOver(event, d, isTooltip)
})
.on('mouseout', nodeMouseOut)
.on('click', nodeSelect)
return svg.node();
}