Marginal plot in angular using d3.js

I am using plotly dash to draw scatter plot with marginal y histogram chart. I tried to implement scatter plot marginals using angular d3 js. but i did not found any solution regarding this in angular d3.Here is my plot

I want to achieve same in the angular using d3 js. Please provide me the Code or any documentation in d3.js for angular.