Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 778 Bytes

File metadata and controls

9 lines (6 loc) · 778 Bytes

Diverging Stacked Bar Chart

We create a diverging stacked bar chart to plot a 5 point Likert scale. There a lots of ways to plot a Likert scale but according to Robbins & Heiberger, a diverging stacked bar chart is the best and I agree.

I've used D3.js. There is also an R package by Robbins & Heiberger.

The result of can be seen here. I also render the svg to a canvas element using canvg. FileSaver.js is used to have a 'Save as' function.