/D3.js-Diverging-Stacked-Bar-Chart

Use D3.js to plot a diverging stacked bar chart

Apache License 2.0Apache-2.0

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.