Population pyramid

Hi,
Is there any way to create a population pyramid using plotly.js? I’ve seen that you can do it in plotly for python:


but I haven’t found anything like this related to js. Is it posible to do it?
Thanks in advance

Here’s the corresponding JS version:

https://plot.ly/~etpinard/7625.js

Many thanks! Gracias!

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online