This is a proof-of-concept on how one can use RStudio to livecode D3 visualizations.
You will need to install a couple of packages before getting started
devtools::install_github("yihui/servr")
library(devtools) | |
library(iotools) | |
library(R.utils) | |
library(feather) # install_github("wesm/feather/R") | |
library(microbenchmark) | |
library(data.table) | |
library(readr) | |
library(ggplot2) | |
library(plotly) |
library(rCharts) | |
library(plyr) | |
library(reshape2) | |
library(scales) | |
findata=read.csv("https://raw.github.com/patilv/rChartsTutorials/master/findata.csv") | |
# These are data regarding NCAA athletic department expenses at public universities. Please see the blog post where these charts were originally used | |
# regarding more details on the origins of these data.: http://analyticsandvisualization.blogspot.com/2013/10/subsidies-revenues-and-expenses-of-ncaa.html | |
findata=findata[,-c(1:2)] # removing first dummy column - the csv quirk - and second column on Rank. |