update D3 examples to version with output