In this tutorial, I will show you, how to create a Treemap & Sunburst Chart in Python by using the library called Plotly.
The data is coming directly from an excel file. You can do all the changes in the excel file and after running the code again you will have your updated Treemap/Sunburst. The Treemap/Sunburst Chart is interactive and will be saved as an HTML file.
openpyxl==3.0.9
plotly==4.14.3
pandas==1.3.5
- Sven from Coding Is Fun
- YouTube: https://youtube.com/c/CodingIsFun
- Website: https://pythonandvba.com
If you have any feedback, please reach out to me at contact@pythonandvba.com