Ridgeline chart
A ridgeline summarizes the distribution of a numeric variable for several groups. Each group is represented as a density chart, each density chart overlapping each other to use space more efficiently.
Ridgeline charts with Seaborn
Seaborn
does not have a dedicated section to build ridgeline charts. It is still possible to make one using some workarounds involving several call of the kdeplot()
function.
Interactive ridgeline chart with plotly
Plotly is a python library that makes the link with Javascript to build interactive charts that you can display in a browser.
The following example is a ridgeline chart made with this library
Contact
👋 This document is a work by Yan Holtz. You can contribute on github, send me a feedback on twitter or subscribe to the newsletter to know when new examples are published! 🔥