选择集里面只有group是可以直接接selection的方法
selection.fn
data=[
[60,200],[200,200],[340,200]
]
let g=this.svg.selectAll('.circle').data(data).join(enter=>{
enter.append('circle')
.attr('r',50)
.attr('cx',d=>d[0])
.attr('cy',d=>d[1])
})
g.attr('r',50)
.attr('cx',60)
.attr('cy',200)
console.log(g);
_enter: [Array(3)]
_exit: [Array(1)]
_groups: [Array(3)]
_parents: [svg]
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。