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

rCharts nvd3 lineWithFocusChart Customization

I am working with nvd3 on rCharts and was wondering if there was a way to customize the axes for the lower view finder graph on a lineWithFocusChart. I have provided a reproducible example below, where I customize the x and y axes to have commas…
johnny838
  • 912
  • 6
  • 14
46
votes
2 answers

rMaps ichoropleth with custom map/shp

In R, I would like help in trying to replicate the tutorial here for my own custom SHP (Shapefile) file or map to be an interactive choropleth map... The map is of the Small Areas of Northern Ireland. Which can be found here. Below are the steps I…
h.l.m
  • 11,457
  • 18
  • 73
  • 155
14
votes
2 answers

Highlight all connected paths from start to end in Sankey graph using R

I want to highlight the whole path when i click on the node to know the whole story of specific node and here's an example- http://bl.ocks.org/git-ashish/8959771 . Please check this link and you will find the function that highlight the path in…
14
votes
1 answer

Are rCharts and DT compatible in rmarkdown?

I am trying to create a document with rmarkdown that includes both plots from the rCharts package and a datatable using the DT library included in htmlwidgets. For some reason I cannot display both of them together. --- title: "Untitled" output:…
Jon Nagra
  • 1,361
  • 1
  • 12
  • 31
13
votes
1 answer

rCharts-How to add axis lables and Headings to NVD3 chart

I am exploriing rCharts. I got stuck while adding Lables to Y axis and Headings. I am new to rCharts. This is my sample code require(rCharts) n2 <- nPlot(Hours ~ Month, group = "Task", data = cars, type = "multiBarChart", height = 900, width =…
user3047471
  • 141
  • 1
  • 4
11
votes
3 answers

street address to geolocation lat/long

I am considering rChart/LeafLet to create a shiny app for housing sales in my county. There are several hundred houses for sale at any given time. Want to map street address-to-geolocation (lat/long) for all and display them on a map. So, I am…
Antex
  • 1,074
  • 2
  • 13
  • 29
11
votes
2 answers

rCharts with Highcharts as shiny application

I have a shiny application consisting of three files. server.R, ui.R and the file to launch the application with require(shiny) require(rCharts) runApp("shinyApp") The application starts, but the plot is not visible. It works with a normal r-plot…
Christian
  • 1,177
  • 1
  • 11
  • 21
10
votes
3 answers

Plot area in rcharts NVD3 lineChart

I want to plot the distribution of different populations with rCharts' NVD3 lineChart plot using the area=true option like in http://nvd3.org/examples/line.html. Here what I am working…
Jon Nagra
  • 1,361
  • 1
  • 12
  • 31
9
votes
1 answer

Rcharts nvd3 2-D zoom possible?

Is there a zooming function in nvd3 that I can directly type in my R source code (doesn't matter if it requires javascript as long as I don't have to change nvd3 source code)? I tried the lineWithFocusChart, but that only zooms along the x-axis,…
johnny838
  • 912
  • 6
  • 14
8
votes
2 answers

R Installing rCharts on R 3.4.2 x64

I had a little bit of trouble installing rCharts for R version 3.2.1. I have referenced a question that addresses an earlier version of R, but the solution did not work for me exactly. [Link] It would appear that there wasn't a rCharts package for R…
Bluebird
  • 512
  • 1
  • 5
  • 18
8
votes
1 answer

Adding Color to Sankey Diagram in rCharts

I've created a sankey diagram in rCharts but have one question. How do I add color? I'd like to represent each node with a different color so it's easier to vizualize the paths, instead of just seeing the same grey lines connecting everything. Code…
user1620666
  • 83
  • 1
  • 4
8
votes
2 answers

Problems while reproducing Sankey chart example with d3_sankey

I am trying to reproduce simple example with rCharts library to plot sankey chart. I found this example from scratch and tried to reproduce it, however, I came up with some problems. Firstly I have tried running this code without nothing. Then I…
adomasb
  • 486
  • 4
  • 14
7
votes
1 answer

in R, plot sucessive/sequence events

EDITED: following the recommendation I am trying to create a simple plot of the frequency of consecutive events based on this post: ggplot sequence patterns I would like to pile up the same plot but for others subjects ( different…
jgfdsa
  • 75
  • 5
7
votes
2 answers

Create interactive webmap with markers in R using Shiny, Leaflet and rCharts

I am trying to create an interactive webmap in R to display storms using Shiny, Leaflet and rCharts (the structure is loosely based on the http://ramnathv.github.io/bikeshare app). The idea is that the user selects one storm name at a time…
Louise
  • 173
  • 1
  • 9
7
votes
2 answers

R: interactive plots (tooltips): rCharts dimple plot: formatting axis

I have some charts created with ggplot2 which I would like to embed in a web application: I'd like to enhance the plots with tooltips. I've looked into several options. I'm currently experimenting with the rCharts library and, among others, dimple…
PatrickT
  • 8,058
  • 7
  • 59
  • 94
1
2 3
32 33