Sunburst Treemap Tutorial - Plotly
Charming Data
Learn to create the Sunburst Diagram in python to visualize hierarchical data. I'll share the source Code and link to data. The sunburst is often referred to as a radial tree map. Under 30 lines of code, and using Plotly Express, we will create multiple Sunbursts, change the styling, hover, color, and much more. Links Below...
Code: https://github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Plotly_Graphs/Sunburst
Data: https://drive.google.com/file/d/1zKRiqisK5JHQZ873P-FWCPvVDeSbV-kZ/view?usp=sharing Data Source: https://mappingpoliceviolence.org/
Sunburst Parameters: https://plotly.com/python-api-reference/generated/plotly.express.sunburst.html
Plotly Sunburst Examples: https://plotly.com/python/sunburst-charts/
Plotly Sunburst Complete Parameters: https://plotly.com/python/reference/#sunburst
Continuous Color Scales: https://plotly.com/python/builtin-colorscales/ Discrete Color Scales: https://plotly.com/python/discrete-color/
Challenge solution uploaded to first comment below. ... https://www.youtube.com/watch?v=6OMKTl7RKjQ
125327876 Bytes