SVG Pie charts configured to look like meters

Three SVG Pie charts that have been configured to look like meters along with three horizontal Progress bars.

Here are three Pie charts that have been configured to look like gauges showing percentage values. They're all regular Pie charts with two colors but then a big black circle is added over the top of them which makes them look like donut charts. And finally, the text is added to the center using the draw event.

There are also three Horizontal Progress bars placed at the bottom of the SVG drawing area. These progress bars are actually Horizontal Bar charts that are configured with just a single data point so that there's just one bar - which makes them look like progress bars. You can make Vertical Progress bars in the same way by using the regular Bar chart.

Like the canvas chart libraries, you can make other types of charts using the regular SVG chart libraries and combining them together. Eg a combined Bar and Line chart.

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.hbar.js"></script>
<script src="RGraph.svg.pie.js"></script>
Put this where you want the chart to show up:
<style>
    div#meters{
        position: relative;
        background-color: black;
        height: 425px;
    }

    div#meters div {
        float: left;
        width: 300px;
        height: 300px;
    }
    
    
    div#chart-container4,
    div#chart-container5,
    div#chart-container6 {
        position: absolute !important;
        left: 0 !important;
        top: 280px !important;
        width: 900px !important;
        height: 70px !important;
    }
    
    div#chart-container5 {top: 310px !important;}
    div#chart-container6 {top: 340px !important;}
</style>

<div id="meters">
    <div id="chart-container1"></div>
    <div id="chart-container2"></div>
    <div id="chart-container3"></div>
    <div id="chart-container4"></div>
</div>
This is the code that generates the chart: