Skip to content

jcheng5/bubbles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3.js bubble chart htmlwidget for R

This R package provides a bubble chart as seen in this Mike Bostock example. It is based on htmlwidgets so it can be used from the R console, RStudio, R Markdown documents, and Shiny applications.

Installation

Use the devtools package (install.packages("devtools")) to install this package directly from GitHub:

devtools::install_github("jcheng5/bubbles")

Usage

library(bubbles)

bubbles(value = runif(26), label = LETTERS,
  color = rainbow(26, alpha=NULL)[sample(26)]
)

Sample output

See ?bubbles::bubbles for more options. For use with Shiny, see ?bubbles::renderBubbles.

About

d3 Bubble Chart for R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published