I am trying to build a circle like the one below with any two arbitrary percentage values.
Currently I have the circle below, but I am unsure on how to go about the gaps as my current approach is to create a full circle, and then add a path on top of it.
The code for my circle is:
<svg viewBox="0 0 36 36" className="circular-chart orange">
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
strokeDashoffset="1"
strokeDasharray="1000"
strokeWidth="1.5"
stroke="blue"
/>
<path
strokeDasharray="69, 100"
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
strokeWidth="1.5"
stroke="red"
/>
</svg>