Create Icicle Charts with Plotly Express
Charming Data
As part of the Plotly Graphs Playlist, you will learn to build icicle charts, add and remove levels, work with discrete and continuous colors and change plotting directions, all with Plotly Express. We will be using historical data on slavery in Virginia. Download the code below.
My GitHub Code: https://github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Plotly_Graphs/Icicle
Data Source: https://data.virginia.gov/Education/Bills-of-Sale-of-Enslaved-Individuals-1718-1862-/j2xt-sjy7
Plotly docs: https://plotly.com/python/icicle-charts/
Continuous Colors Plotly: https://plotly.com/python/builtin-colorscales/
Video layout:
00:00 - What you will learn
02:10 - Icicle Chart Vocabulary
03:18 - the Data
04:24 - 1st Icicle & Attributes
08:00 - Adding Color (Discrete)
09:17 - Adding Branches
11:48 - Icicle Color (Continuous)
14:10 - Change Icicle Direction
17:06 - Final Remarks
š If you appreciate these tutorials and would like to support their existence or receive 1-on-1 consultation, while getting access to my GitLab code: Patreon: https://www.patreon.com/charmingdata YouTube: https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ/join
91563174 Bytes