We are going to go over how to create charts with javascript and google api.
You would need to know some basic javascript, html, css, and change data in arrays.
this part of the code is most important change the arrays just use 'item' how many 1:
data.addRows([
['Mushrooms', 3],
['Onions', 1],
['Olives', 1],
['Zucchini', 1],
['Pepperoni', 2]
]);
But I go over on the video what you can change. Plus experiment on the script.
https://developers.google.com/chart/