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

Use D3.js to plot a diverging stacked bar chart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Use D3.js to plot a diverging stacked bar chart

License:Apache License 2.0


Languages

Language:HTML 100.0%