Creating basic selectionsModifying attributes and CSS

Controlling HTML in selections

→ github.com/mbostock/d3/Selections

d3.select('.item')
  .append('span') // append à la fin du .item
  .html('contenu du span');