odometer | R Documentation |
Create an odometer.
odometer(
count,
duration = 2500,
format = "(,ddd).dd",
theme = c("default", "car", "digital", "minimal", "plaza", "slot-machine",
"train-station"),
width = NULL,
height = NULL,
elementId = NULL
)
count |
Value to count up to. |
duration |
Duration of countup. |
format |
Change how digit groups are formatted, and how many digits are shown after the decimal point. |
theme |
An odometer theme, see https://github.hubspot.com/odometer/api/themes/ |
width , height |
Dimensions. |
elementId |
Id of element holding the odometer. |
odometer(12345)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.