Skip to content
Advertisement

Transition of Woocommerce Percentage Review Chart to Numeric

On my website’s homepage, I use a chart that counts all Woocommerce reviews. These reviews are shown as a percentage for each rating (1 star, 2 star etc …). I need to change functionality to the total number of ratings for each rating section instead of the percentage and display stars instead of labels.

Any advice?

Now:

enter image description here

Goal:
enter image description here

Code of the graph:

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement