Divide semi circle with stroke-dasharray and on active color fill
Here’s a working SVG example, with a little bit of javascript. It’s not clear from your question what exactly you want the coloured divisions to look like. For now I’ve just made them solid red. But you can make them look however you’d like by changing the fill of the <rect id=”meter-colours” …/>. let METER_DIVISIONS … Read more