I managed to create an HTML element using Google Charts. Here is part the code:
This works perfectly fine on my web page.
However instead of using predetermined data directly into the HTML element above, I would like to get data from local storage (because I don't know the numbers in advance, they result from a process). So instead of 10, 20, 30, 20, 25, 40,15 I would use: