User Tools

Site Tools


dvd3js:creating_basic_selections

Creating basic selection

d3.select('.item').text('nouveau texte'); // sél. le 1er .item
d3.select('.item:nth-child(2)').text('nouveau texte'); // sél. le 2eme .item note: pas 0-based

→ css-tricks.com/how-nth-child-works

dvd3js/creating_basic_selections.txt · Last modified: 2016/04/14 13:16 by leo