Reputation: 89
Please can you help me? Can anyone help me/guide me on how I can create speedometer gauges like the image below using R/R-studio? I want to move away from depending on Excel, especially as my datasets are quite large. Thanks in advance :)
Upvotes: 2
Views: 2750
Reputation: 31
Try using gvisGauge()
from the googlevis
package, e.g. this picture from this blog post:
which uses this code:
Gauge <- gvisGauge(m1,
options=list(min=0, max=20000, greenFrom=0,
greenTo=5000, yellowFrom=5000, yellowTo=15000,
redFrom=15000, redTo=20000, width=800, height=800))
#
plot(Gauge)
Upvotes: 3