Simple SVG Gauge component, inspired by JustGage
https://reggino.github.io/react-svg-gauge
import React, { Component } from 'react';
import Gauge from 'react-svg-gauge';
export default class App extends Component {
render() {
return (
<div>
<Gauge value={this.state.value} width={400} height={320} label="This is my Gauge" />
</div>
);
}
}
Styling can be done via Style
-properties, or by applying CSS to SVG Text elements.