.rescaling <- function(values, desired_min, desired_max){
(((desired_max - desired_min) * (values - min(values))) / (max(values) - min(values))) + desired_min
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.