copy for d3-interactive