Questions tagged [rcharts]

A package designed to draw interactive graphics using R and JavaScript libraries.

rCharts is a new package designed to draw interactive graphics using R and javascript libraries.

491 questions
7
votes
1 answer

rCharts plot won't appear in shiny app using dimple.js

I came along with this problem, that rCharts plot won't show in my shiny app. I found this example which perfectly suits my needs. Even though this chart works perfectly while just plotting in R, in shiny it is an blank page. I am not sure what is…
adomasb
  • 486
  • 4
  • 14
7
votes
1 answer

nvd3 scatterPlot with rCharts in R: Vary size of points?

I've been playing with rCharts and nvd3 for a bit of time now. Now I'm in a situation where I need a bubble chart, or at least a scatterplot where the size of the dots is dependent on a variable in the data. From this example, it seems possible. The…
dynamo
  • 2,718
  • 3
  • 20
  • 32
7
votes
1 answer

adjusting axis labels NVD3 graph in rCharts

I am using the rCharts nPlot() function to display stacked or grouped bar charts given contingency table type data. The "multiBarChart" is displayed in a shiny application. A piece of the code that I use in my shiny application is given below. …
Chris
  • 3,111
  • 5
  • 28
  • 41
7
votes
2 answers

R Tooltip Data Point

I have a question related to R Shiny. So I want to have the tooltip which can show the concrete information of a data point when I put my mouse on the point. Anyone has ideas how to do it? Sample codes are more than welcomed.
user2564888
  • 121
  • 1
  • 3
6
votes
1 answer

Highcharts too slow when plotting 4000 bars (rCharts)

We are trying to plot around 4000 data points from column a1 as bars using Highcharts. The colors of the a1 bars are based on the values of another column called a3. If a3 is negative on one row, the corresponding bar about a1 should be red, and…
Ziqi Lu
  • 146
  • 5
6
votes
1 answer

Change the color of nodes in rCharts sankey diagram in R

I have made sankey diagram using rCharts. Here is the example of my code. Data is based on this URL…
kmangyo
  • 997
  • 1
  • 11
  • 13
6
votes
2 answers

Shiny rcharts multiple chart output

How can I overwrite the output display options with running multiple charts with shiny and rchart so the output result is a 2x2 matrix type grid layout. require(rCharts) require(shiny) require(data.table) runApp(list( ui = mainPanel( span="span6",…
digdeep
  • 594
  • 1
  • 9
  • 20
6
votes
2 answers

rChart opens new window in shiny application

I am trying to plot a rChart in a shiny application and run this via Rstudio server. When I run the app the shiny page gives the error: attempt to apply non-function and the RChart opens in a new browser window. How can make the rChart appear in…
jeroen81
  • 2,055
  • 3
  • 25
  • 35
6
votes
1 answer

Render rCharts in slides from Slidify

Recently I have been experimenting with slidify and rCharts. Tutorials for generating simple charts while using slidify are explanatory, but I was unable to find any such tutorial regarding rCharts. For example, I know that the following generates…
info_seekeR
  • 1,224
  • 1
  • 14
  • 28
6
votes
2 answers

Add values to rCharts hPlot tooltip

I would like to add some extra values to the standard Highcharts tooltip via rCharts. Example code: require(rCharts) df <- data.frame(x = c(1:5), y = c(5:1), z = c("A", "B", "C", "D", "E"), name = c("K", "L", "M", "N",…
jeroen81
  • 2,055
  • 3
  • 25
  • 35
5
votes
0 answers

Sankey Particles Visualization

I really like the Particle visualization of Sankey diagram https://bl.ocks.org/micahstubbs/6a366e759f029599678e293521d7e26c However, i cant replicate the same in R shiny as i have no knowledge on embedding scripts . Below is code for creating a…
EricA
  • 339
  • 1
  • 12
5
votes
2 answers

Flexdashboard - Modularise rCharts code

I'm trying to break some code for a dashboard down into modules. I'm having trouble with this rCharts code. I can run it as an app, but ideally I want to split it into UI and server functions so I can keep them in a package. The code below shows…
Akhil Nair
  • 2,636
  • 1
  • 14
  • 25
5
votes
0 answers

Fanplot in R with other package than fanplot

I generally create a fanplot like this: n.ahead <- 10 m <- matrix(,nrow = 5000,ncol = 10) library(fanplot) m[,1] <- rnorm(5000,0.01,sd = 0.005) m[,2] <- rnorm(5000,0.02,0.006) m[,3] <- rnorm(5000,0.03,0.008) m[,4] <- rnorm(5000,0.04,0.01) m[,5] <-…
Tim_Utrecht
  • 1,319
  • 5
  • 17
  • 39
5
votes
2 answers

Add Interactive Chart to Shiny with HTML UI (index.html)

I can see how ggvis, rCharts, etc. fits in with a server.r + ui.r construction. I'm now trying to make an HTML UI but am and unable to find any clues about passing an interactive chart to an HTML UI. Any clues? Investigated for ggvis, rCharts, NBD3.…
TheComeOnMan
  • 11,085
  • 6
  • 35
  • 50
5
votes
1 answer

rCharts nvd3 library force ticks

I would like to force all tick marks and tick labels to appear along the axis in an rCharts nPlot from the nvd3 library. I have tried several approaches without success. This is the default behaviour: df <- data.frame(x = 1:13, y =…
PatrickT
  • 8,058
  • 7
  • 59
  • 94
1
2
3
32 33