gauge: Create elegents interactive gauge illustrations

View source: R/gauge.R

gaugeR Documentation

Create elegents interactive gauge illustrations

Description

An easy way to create gauge charts based on the rstudio js tutorials with functions for easy implementation in shiny.

Usage

gauge(value, width = NULL, height = NULL)

Arguments

value

A numeric between 0 and 100. Represents a percentage.

width, height

Must be a valid CSS unit (like "100px", '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

Examples

gauge(0)

gauge(50)

gauge(1:4)

jumpingrivers/gaugeR documentation built on May 10, 2022, 9:12 a.m.