I’ve been trying to find some examples of this using plotly, but no luck so far. Would this be possible to do either using python, R or the JS plotly libraries?

I’ve been trying to find some examples of this using plotly, but no luck so far. Would this be possible to do either using python, R or the JS plotly libraries?

Yes. Here’s an example https://plot.ly/~PlotBot/95.embed
JS code: https://plot.ly/~PlotBot/95.js
Does plotly subplots do what you need?
Hi David. Thank’s for your help.
I believe that my need is more related to a marginal distribution https://plotly.com/python/marginal-plots/. However, I only found this solution in Python, not in JavaScript (Plotly JS).
Yes, I see your issue. This post by @AIMPED is also, strictly speaking a plotly Python one, but I wonder if it might give you a way forward: