Created by Thomas Reinholdsson ([email protected]).
Shiny demo: http://glimmer.rstudio.com/reinholdsson/rVega-treemap/.
More about Vega: http://trifacta.github.com/vega/.
devtools::install_github("metagraf/rVega")
library(rVega)
treemap(1:26, letters)
Demo: http://glimmer.rstudio.com/reinholdsson/rVega-demo-1/
geopath(...) # to be updated
Demo: http://glimmer.rstudio.com/reinholdsson/rVega-demo-2/
library(rVega)
shinyServer(function(input, output) {
output$plot <- renderVega({
treemap(1:26, letters)
})
})
library(rVega)
shinyUI(bootstrapPage(
vegaOutput("plot")
))