Use n3D3 to generate directive for d3 charts