block by mbostock 9360565

Clone Templates

Full Screen

This example demonstrates the use of cloneNode to define templates in HTML markup, modifying the instantiated template after binding to data.

index.html

items.tsv