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
26
votes
1 answer

Editing Google motion chart

I am using Google Motion Chart with Shiny R and I am not able to edit some of the basic things. I am new to Shiny R and already started loving it. Here is my code: ui.R library(shiny) shinyUI(( mainPanel( h4("Interactive…
Sabin
  • 11,662
  • 3
  • 25
  • 39
21
votes
2 answers

Update graph/plot with fixed interval of time

I have a plot in Shiny UI. If I change any input parameter and through reactivity plot will change. But let's consider following situation:- The plot in Shiny UI plotting let say intra-day price move of a stock. And for that you query some live data…
Indranil Gayen
  • 702
  • 1
  • 4
  • 17
19
votes
2 answers

Shiny: Dynamic Number of Output Elements/Plots

I want to make a reactive display, that displays a different number of plots depending on which value of the input selector is chosen. In the case of the mtcars dataset, let's say I want to let the user choose beetween cutting by Nr. of Gears or Nr.…
Serban Tanasa
  • 3,592
  • 2
  • 23
  • 45
11
votes
1 answer

Clustering on a Map using R and Leaflet

I am using leaflet in R (Just Starting to use it). I like the how the clustering/visualization is done in the post below. The programmer is using Java. What I can not find for leaflet / R, is how to create a cluster circle with number, that is a…
Yvonne
  • 113
  • 1
  • 1
  • 8
10
votes
2 answers

plotting barchart in popup using leaflet library

Quick question all. I have some data in sql server which i have loaded into RStudio. I have made a barchart for the data and now i am using leaflet library with the use of latitude and longitude to plot a point on the map. I want to be able to use…
Faiz Saiyed
  • 299
  • 1
  • 4
  • 14
8
votes
1 answer

Knitr does not render googleVis

I have a trouble with Rsutdio and knitr in Windows 7 for rendering a simple gvisTable. Here is my code ```{r results='asis'} require(googleVis) op <- options(gvis.plot.tag="chart") data(iris) t = gvisTable(data = iris) print(t) ``` and here is my…
Stéphane Soulier
  • 217
  • 1
  • 3
  • 9
8
votes
2 answers

Plot going off graph in gvisMotionChart

I have created a plot in R using googleVis, specifically gvisMotionChart, plotting a number of variables. I am primarily using the line graph and it is all good when I view the graph with all variables, however when I select some of the individual…
user1165199
  • 6,351
  • 13
  • 44
  • 60
7
votes
1 answer

R Shiny - sankey plot with click events

I'm trying to create an R shiny dashboard with a Sankey plot. I want to be able to extract the name of the clicked node. There are two libraries that can plot Sankey diagrams, networkD3 and googleVis. networkD3 does allow you to monitor click…
IVR
  • 1,718
  • 2
  • 23
  • 41
7
votes
1 answer

Update data in shiny application without refreshing the whole application

I have an application for real time data visualization build with R shiny library. I do periodic data reload from file using reactivePoll function. What I do not like about this is that whenever data reloads the whole application refreshes. So for…
danas.zuokas
  • 4,551
  • 4
  • 29
  • 39
7
votes
2 answers

Order by name in Sankey chart

Is it possible to sort by name using sankey? For example: Example: https://jsfiddle.net/Khrys/1s3shf2m/ google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); …
Khrys
  • 2,670
  • 9
  • 49
  • 82
7
votes
3 answers

How to change node and link colors in R googleVis sankey chart

How can node and link colors be changed in R googleVis sankey chart? And link having the same color as its originating node? library(googleVis) datSK <- data.frame(From=c(rep("A",3), rep("B", 3)), To=c(rep(c("X", "Y", "Z"),2)), …
santoku
  • 3,297
  • 7
  • 48
  • 76
7
votes
1 answer

Hide labels in googleVis Bubble Charts

I want to hide the labels. I believe it is something to do with the option bubble.textStyle and setting the color to none but I can't figure it out. Bubble <- gvisBubbleChart(Fruits, idvar="Fruit", xvar="Sales", yvar="Expenses", …
Anto
  • 449
  • 5
  • 14
6
votes
1 answer

Change axis limits on googleVis timeline chart

I would like to set a specific start and end date for an R googleVis timeline chart. For example I would like the following chart to start at 1780 and end at 1815. I have searched the documentation and tried some of the options from other chart…
Ian Wesley
  • 3,565
  • 15
  • 34
6
votes
1 answer

R googleVis BubbleChart, set size without setting colours

I am trying to make a bubble chart with two coordinates and a size parameter with gooogleVis in R. When I don't establish the colour variable, the size variable is used as colour instead of as size. I can include a colorvar but then the variable is…
Jon Nagra
  • 1,538
  • 1
  • 16
  • 36
5
votes
1 answer

Change the chartArea background color of gvisAnnotationChart

How to change the chartArea background color of gvisAnnotationChart? I tried this but didn't work (I tried to replicate what I saw in this answer) gvisAnnotationChart( ..., options = list( ..., chart = list( backgroundColor =…
Brani
  • 6,454
  • 15
  • 46
  • 49
1
2 3
19 20