add D3 sample