Questions tagged [googlevis]

The googleVis package provides an interface between R and the Google Chart Tools, formerly know as Google Visualisation API.

The googleVis package provides an interface between R and the Google Chart Tools, formerly know as Google Visualisation API. It allows users to create web pages with interactive charts based on R data frames, using the Google Chart Tools and to display them either via the local R HTTP help server or within their own sites, without uploading the data to Google.

Resources:

294 questions
0
votes
1 answer

How to graph population age structure by sex using GoogleVis and R?

Am trying to create a graph of population structure by age and sex using R and googleVis. However the graph never fully loads on the browser I just get a "loading" message and no output. The command am using in RStudio is plot(gvisMotionChart(data,…
Tumaini Kilimba
  • 195
  • 2
  • 15
0
votes
1 answer

R googleVis: How can I gvisGeoMap multiple variables using markers

I have a dataframe in which some states are characterized by two variables. Briefly you can think of every row as a vector of (state,var1,var2). I want to map states using googleVis package. My approach is to use markers whose size and color…
kthouz
  • 411
  • 7
  • 16
0
votes
0 answers

Googlevis motion chart worldbank example works, but when I use my dataframe blank browser page comes

When I use below World bank example code, it works. That means browser etc are good. WorldBank <- droplevels(subset(wdiData, !region %in% "Aggregates")) M <- gvisMotionChart(WorldBank,idvar="country", timevar="year",xvar="life.expectancy",…
0
votes
1 answer

R Shiny: call to renderGvis() for google charts doesn't produce a chart

(Update: resolved height/width of div issue; changed question). I'm doing: output$mainplot <- renderGvis({gvisBubbleChart()}, chartid="foo") RESULT: blank plot. I tried the gvisBubbleChart() call separately and it does create the gvis object, as…
rstruck
  • 1,174
  • 4
  • 17
  • 27
0
votes
0 answers

googleVis: Colors with alpha < 1

I am trying to use some colors with alpha < 1 in googlevis chart without success. My initial Color List that is applied is: MyColors <- c('#DD4477', '#109618', '#AAAA11) Then I apply the function adjustcolor: MyAlphaColors <- adjustcolor(MyColors,…
Christos
  • 805
  • 8
  • 25
0
votes
1 answer

gvisMotionChart is not working in R markdown file

I need to embed gvisMotionChart into an R markdown file and find an example interactive which is really helpful. However when it comes to the googlevis plotting I keep getting this error when I press the "run code" button: connection to openCPU…
Lambo
  • 857
  • 3
  • 14
  • 39
0
votes
1 answer

reactive switching datasets and subseting for uneven datasets

I have looked in google for examples of people using similar but different datasets with geovis and I have not found my particular problem. The problem is when switching between datasets, if the dataset that I switch to does not have the same inputs…
BaconDoggie
  • 153
  • 3
  • 14
0
votes
0 answers

Can't embed GoogleVis in Google Sites through Google Gadget

I am trying without any success to embed a motion chart created through googleVis package. As an example, I'm trying to replicate the same motion chart at: http://takahashik.blogspot.com.br/2011/01/googlevis-example-for-data-iris_10.html I'm using…
Bernardo
  • 426
  • 3
  • 16
0
votes
1 answer

GoogleVis HTML Tooltips

I try to set a picture as tooltip. Everything works fine with ScatterChart (I use example code from http://cran.r-project.org/web/packages/googleVis/vignettes/Using_Roles_via_googleVis.html). But when I try to use ColumnChart (or any other types)…
0
votes
1 answer

Update the axis labels with rChart

I just discovered rChart and googleVis and i want to thank developers for their job. My problem is simple, i want to add a variable label to my axis for nplot? I also want to know if it's possible to add variable like sizevar and colorvar of…
0
votes
1 answer

gvisColumnChart multiple yvar

I'm using shiny and googleVis to make à little app. I want to create a colomn chart with gvisColumnChart with 4 yvars. The legend show the 4 vars but there is only one variable (bar) in the chart. In this case, only the bars for "Courbature" appears…
user3479103
  • 51
  • 1
  • 4
0
votes
1 answer

gvisGeoChart displaying incorrect data from R dataframe

I'm working on mapping deaths due to road traffic collisions in each country. I pulled the data from the WHO using this code: library(XML) col <- "http://apps.who.int/gho/athena/data/GHO/RS_196,RS_198.html?profile=ztable&filter=COUNTRY:*" …
0
votes
0 answers

Google visualisation load failed - error

I have some complex google visualisation code and sometimes table show perfectly and sometimes I get this screen: What mean that error? I look on google search but I cant get any answer? What that mean? How sometimes google visualisation table load…
gmaestro
  • 339
  • 7
  • 26
0
votes
1 answer

Add a vertical line to a line chart from the googleVis

What I would like to do is add a vertical line to a line chart in R from the googleVis package. Does anyone know if this is supported? For example, given the following simple line chart, I would like to add a vertical line at x=2. Is this even…
user3424789
  • 111
  • 1
  • 4
0
votes
1 answer

Google visualisation ColumnChart data

Here i create an dashboard http://jsbin.com/OJAnaji/27/edit (googl visualisation ) based on this data: data = google.visualization.arrayToDataTable([ ['Name', 'Gender', 'Age', 'Donuts eaten'], ['Michael' , 'Male', 12, 5], …
gmaestro
  • 339
  • 7
  • 26
1 2 3
19
20