Ho to create a Double Boxplot in Plotly.js?


I’m trying to draw a 2d boxplot using plotly.js ( to describe the distributions of two variables using box plots spanning both the x and y axes.)like this

But based on api I can only find grouped boxplot
How can I combine horizontal and vertical boxplot and the do the same using plotly.js?


You can overlay horizontal and vertical box traces on the same subplots, but unfortunately we don’t support 2d boxplots at the moment.


Thank you for your reply. Is there a link which I can follow? I’m new to plotly and did not find how to subplots yet.