data = [10, 20, 30]; d3.select('body').selectAll('div') .data( data ) .text(function(d, i){ return d; }) // update text .exit() .remove();.
確定! 回上一頁