I recently wrote an article where I explain in detail how to create parliament charts in Plotly using Python.
All the code is in the following GitHub repository: GitHub - amandaiglesiasmoreno/plotly-parliament-charts: A Python package for generating and visualizing parliamentary seat distributions using Plotly
4 Likes
This is amazing @AmandaIglesiasMoreno 
Would you be interested in contributing to the Visual vocabulary? Itβs a dashboard that @antony.milne and I started to collect Plotly charts, such that itβs easier for people to find the relevant chart code 
I can also help you raise a PR in our repository here.
Let me know if you would like to contribute 
awesome graph making, @AmandaIglesiasMoreno . Thank you for sharing the code for the project on GitHub.