Plotting likert scales (divergent bar) with matplotlib and mimic the behaviour of HH, a package available with R
This is not maintained and now there is a better solution developed by others here: https://github.com/nmalkin/plot-likert
Likert scales are widely used in social sciences and in Psychology [1]. They are useful to collect opinions for surveys by asking participants to rate on a scale different items that constitute a scale.
This small wrap up around matplotlib and pandas produces this LikertScale (or stacked divergent bars).
- The script accept a dataframe containing the different items of the scale. It then output a plot.
The project is under the BSD 2-Clause License and the LICENCE is attached here
This work is based on the following discussion and solutions provided on stackoverflow: