Skip to content
d3 Bubble Chart for R
R JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Add "key" parameter for transitioning Feb 6, 2015
inst Fix "Cannot read property 'render' of null" errors when null values r… Apr 26, 2018
man
.Rbuildignore Add textColor param; README; note about radius vs. area Jan 30, 2015
.bowerrc HTMLWidgets skeleton Jan 17, 2015
.gitignore Create RStudio project Jan 17, 2015
DESCRIPTION apply MIT license Sep 12, 2018
LICENSE apply MIT license Sep 12, 2018
NAMESPACE
README.md
bubbles.Rproj Create RStudio project Jan 17, 2015
sample.png Add textColor param; README; note about radius vs. area Jan 30, 2015

README.md

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.

You can’t perform that action at this time.