Making a blue score animated bar
<p>I have a circle score rating item in HTML, CSS (don't know their real name)
basically the blue bar around the circle goes up to the point of the number. </p>

<p>I would like the bar to go around as an animation when the page loads. Currently I use PHP to output the number however this means the bar has no animation. </p>

<p>Please see image </p>

<p><a href="https://i.stack.imgur.com/6j8PU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6j8PU.png" alt="enter image description here"></a></p>

<p>A simple way I was thinking this could be done, is if PHP has any build in function to output up to a number, for example instead of outputting 3 it went 1,2,3 which could make the animation. </p>

<p>Code :</p>

<pre><code>&lt;div id="quad_rating_circle"&gt;
    &lt;div class="c100 p&lt;?php echo $score; ?&gt; medium custom center dark fill"&gt;
        &lt;span&gt;&lt;?php echo $score;  ?&gt;&lt;/span&gt;
        &lt;div class="slice"&gt;
            &lt;div class="bar"&gt;&lt;/div&gt;
            &lt;div class="fill"&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>I have spent a good hour and haven't come up with anything, any help is greatly appreciated. </p>

<p>Thank you </p>