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. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message onTwitter, or send an email pasting yan.holtz.data
with gmail.com
.