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.