set up d3 visualization to render in angular app