A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/uRosConf/voronoiTreemap below:

uRosConf/voronoiTreemap: R package for voronoi treemaps with added interactivity by shiny

This is the development place for R-package voronoiTreemap

Created at unconfUROS2018
knitr::include_graphics("documentation/preisKalei.jpg")

library(voronoiTreemap)
data(ExampleGDP)
knitr::kable(head(ExampleGDP,3))
h1 h2 h3 color weight codes Total Asia China #f58321 14.84 CN Total Asia Japan #f58321 5.91 JP Total Asia India #f58321 2.83 IN
gdp_json <- vt_export_json(vt_input_from_df(ExampleGDP))
vt_d3(gdp_json)

There a couple of settings you can change I
vt_d3(gdp_json,label = FALSE, color_border = "#000000", size_border = "2px", legend = TRUE)

There a couple of settings you can change II
vt_d3(gdp_json, legend = TRUE, legend_title = "Continents", seed = 1)

A 2nd Example (Canadian Consumer Price Index) I
data(canada)
canada <- canada[canada$h1=="Canada",]
canada$codes <- canada$h3
canadaH <- vt_export_json(vt_input_from_df(canada,scaleToPerc = FALSE))
vt_d3(canadaH, label=FALSE,width = 400,height = 400)

A 2nd Example (Canadian Consumer Price Index) II
canada$color <- scales::seq_gradient_pal(low = "#999999",high = "#ffffff")(canada$weight/max(canada$weight))
canadaH <- vt_export_json(vt_input_from_df(canada,scaleToPerc = FALSE))
vt_d3(canadaH, label=FALSE,width = 400,height = 400, color_border = "#000000")

knitr::include_graphics("documentation/shiny1.jpg")

knitr::include_graphics("documentation/shiny2.jpg")


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4