事情是這樣的,在函式中使用`d3.select(this)`可以取得調用此函式的dom,比如說有以下幾種情境範例:. 1.事件 d3.selectAll('g') .on('click' ...
確定! 回上一頁