[Visualization] Likert scale results: Divergent bar charts in PP?

Hi All,


I want to plot the results from a survey that uses a Likert scale as response. Because we want to compare the results for several groups of respondents, a pie chart is not a good idea (we’d need a pie chart per group). I was thinking about a divergent bar chart.


1.- Does anybody have a protocol to create divergent bar charts?

2.- Is there a better way to visualize and compare the results of Likert scales among several groups?


Attached anonymized data.


Thanks!

Comments 3
AC
AC 2020-08-11

It might be possible to do something using Highcharts. Is it possible to upload some anonymized data that I can try in a protocol?

IK
IK 2020-08-12

@PG Could you use a stacked bar chart? The results would look something like this. 

comment imagecomment imagecomment imagecomment image
CS
CS 2020-08-12

@PG The example from @IK is much preferred to what I have attached here, as he has used standard Pipeline Pilot components.  Attached are some protocols to generate similar plots using R and the ggplot2 R package.  Unfortunately this requires that 1) you have R installed on the Pipeline Pilot server and have set the R_exe and possibly the SuppressRVersionWarning globals in the Pipeline Pilot admin portal, 2) have installed the "ggplot2" package in R, as well as some other packages, and 3) have access to the Pipeline Pilot Data Modeling Collection.  The zip file contains a protocol to generate a plot with a specified "theme", another protocol to generate a report with the same plot using a number of themes, and an R script that you can use to install relevant R packages.  You can install the packages by either typing source("") at the R command line, or paste the contents of the file at the R command line.  Not all themes work perfectly out of the box, but can be tweaked in any number of ways.  I've attached a sample along with the ZIP file containing the protocols and the .R file. Let me know if you are interested in these plots and/or have any questions.

comment imagecomment imagecomment imagecomment image