<svg viewBox="-500 -500 1000 1000">
<circle r="440" class='bg' />
<circle r="440" class="chart" id="bg" />
</svg>
<input id="range" type="range" min="0" max="1253.811865" value="0">
svg{
display: block;
transform: scaleX(-1)rotate(30deg);
max-width: 350px;
}
circle {
stroke-width: 40;
stroke-linecap: round;
transform-box: fill-box;
transform-origin: center;
fill:none;
}
.chart{
stroke-dasharray: 0 2763.911865234375;
stroke: #FF9900;
}
.bg{
stroke-dasharray: 1253.811865 2763.911865234375;
stroke: #FFFF;
}
body{
background-color: black
}
range.addEventListener("input", function (){
bg.style.strokeDasharray = `${this.value}, 2763.911865234375`;
})