block by bricedev f80fdbc2c03dbc1ae4e8

Diverging Stacked Bar Chart (even)

Full Screen

I have been using the diverging Stacked Bar Chart exemple by wpoely86 for a while. I tried to make it a bit more dynamic using less hardcoded constants. It works regardless the number of rows and the Likert scale length (odd or even).

Check this other example with an odd length of likert scale and more rows.

index.html

data.csv