cvitolo / r_treemap

Generate tree maps from excel table (R package)

Repository from Github https://github.comcvitolo/r_treemapRepository from Github https://github.comcvitolo/r_treemap

TreeMap (R package)

DOI

The package treeMap contains a set of functions to automatically generate D3.js tree maps for each sheet in a given excel file.

To cite this software:
Vitolo C., TreeMap (R package), (2014), GitHub repository, https://github.com/cvitolo/r_treemap, doi: http://dx.doi.org/10.5281/zenodo.15719

Basics

I assume you use Linux Ubuntu. Go to terminal and run the following commands:

sudo apt-get install openjdk-7-jdk
sudo R CMD javareconf

Back in R, install dependent packages from CRAN:

x <- c("XLConnect", "RJSONIO","devtools")
install.packages(x)

# load the packages
lapply(x, require, character.only=T); rm(x)

Now install the treemap package from github:

install_github("cvitolo/r_treemap", subdir = "treeMap")
library(treeMap)

Run a test

writeMapTrees(system.file('table.xls', package = 'treeMap'),outputPath="~")

Use your own excel file

writeMapTrees('/myfile.xls',outputPath="")

Warnings

This package and functions herein are part of an experimental open-source project. They are provided as is, without any guarantee.

Leave your feedback

I would greatly appreciate if you could leave your feedbacks via email (cvitolodev@gmail.com).

About

Generate tree maps from excel table (R package)

License:GNU General Public License v3.0


Languages

Language:HTML 57.2%Language:R 42.8%