selectAll('rect') .data(data) // loops through each svg element and sets __data_ attribute .attr('x', (d, i) => i * rectWidth) // function ...
確定! 回上一頁