Skip to content

Instantly share code, notes, and snippets.

@trinker
Created December 12, 2015 02:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trinker/5177fc6992604ce49e60 to your computer and use it in GitHub Desktop.
Save trinker/5177fc6992604ce49e60 to your computer and use it in GitHub Desktop.
```r
p_load_gh("jcheng5/bubbles", "trinker/qdapTools")
x <- runif(26)
colfunc <- colorRampPalette(c("white", "red"))
cols <- colfunc(length(sort(unique(x))))
bubbles(value = x, label = LETTERS,
color = x %lc% data.frame(sort(unique(x)), cols)
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment