I have a JSON file and I have extracted data from it and displayed it into the html tables.
There are 60 tables, each has 3 cells and each cell has some value.
Now I want to display colours in the cells instead of numbers. So suppose if the number is 29673.4, then it should fill that particular cell with Green colour till 29% of that cell, and remaining 71% of the cell should be left with white colour, if the number is 90881.13333 then it should fill the particular cell with Green colour till 90% of that cell.
It is not allowing me to add screenshot as I am new to Stack Overflow and doesn't have 10 reputations.
I hope you understood my question.