D3 Data

sel.datum(aryData) vs. sel.data(aryData) .datum() gives aryData to all elements in the selection. .data() gives one unique array value in aryData to each element in the selection (i.e. .update()). It also has .enter() and .exit() as methods. Example Here’s the data we’ll