Looking for a JavaScript script that displays results in the form of circles with percentage values at their centers, based on the number of checkboxes checked in different categories. The circle radius should be determined by the percentage values - for example, 40% would result in a small circle, while 80% would be larger.
For example:
Environment:
Keep Your Environment clean.
Avoid pollution.
Preserve Nature.
Grow trees.
Nature:
If one checkbox is checked in the Environment section and two checkboxes are checked in Nature, the Nature circle should have a higher percent value displayed at its center compared to the smaller Environment circle. I need a total of five circles like this. Can anyone assist?
Thank you.