Blog Archives

Plotly charts in nteract notebooks using R

April 5, 2017
By
Plotly charts in nteract notebooks using R

The Plotly R package can now be used within nteract notebooks. Below are some examples. Visit below links for installation related information Visit Carson’s Plotly for R book for more details on plotly and its capabilities Visit nteract releases to download nteract Visit IRkernel to see details on how to install an R kernel for

Read more »

Burtin’s Antibiotics visualization in Plotly and R

March 29, 2017
By

In this post, we’ll try to re-create Burtin’s antibiotics visualization using Plotly. The post follows Mike Bostock’s original re-creation in Protovis. See here.

Read more »

News and Updates Surrounding plotly for R

March 19, 2017
By
News and Updates Surrounding plotly for R

The plotly R package will soon release version 4.6.0 which includes new features that are over a year in the making. The NEWS file lists all the new features and changes. This webinar highlights the most important new features including animations and multiple linked views. Concrete examples with code that you can run yourself will

Read more »

Plotly for R workshop at Plotcon 2017

March 15, 2017
By

Carson Sievert, the lead developer of the Plotly package for R will be hosting a workshop at https://plotcon.plot.ly/. Here’s an outline of the material he will be covering during the workshop. More details here. The workshop will be based on Carson’s Plotly for R book. Broad Topic Details A tale of 2 interfaces Converting ggplot2

Read more »

Native support for candlestick charts in Plotly and R

March 11, 2017
By

Plotly.js now supports candlestick charts as a chart-type and in this post we’ll highlight how to use this feature in R. We’ll use the quantmod package to retrieve data as well as generate some technical trading signals. Don’t forget to install the latest version of plotly from github: Syntax The syntax is straightforward:

Read more »

Animations in R using Plotly

January 2, 2017
By
Animations in R using Plotly

Like last year, lets have some fun with the Plotly package. We’ll try out Plotly’s new animation capabilities. You should now have something like this: For mode details visit: Plotly for R by Carson Seivert.

Read more »

Filled Chord Diagram in R using Plotly

November 8, 2016
By

In this post we’ll create a Filled Chord Diagram using plotly. The post is inspired by Plotly’s Python documentation. Install / update packages Just to ensure we are working with the latest dev version of plotly. Dataset The dataset we’ll use consists of the number of comments a person made on her own facebook

Read more »

Using the pipe operator in R with Plotly

October 18, 2016
By
Using the pipe operator in R with Plotly

With the release of Plotly 4.0 using the pipe %>% operator is a lot more intuitive when using plot_ly(). Quick Introduction For those new to the pipe operator from the magrittr package here’s a quick introduction. In essence, the pipe operator takes the argument on the left hand side of the operator and inserts it

Read more »

Visualizing ROC Curves in R using Plotly

October 15, 2016
By

In this post we’ll create some simple functions to generate and chart a Receiver Operator (ROC) curve and visualize it using Plotly. See Carson’s plotly book for more details around changes in syntax. We’ll do this from a credit risk perspective i.e. validating a bank’s internal rating model (we’ll create a sample dataset keeping this in

Read more »

Radial Stacked Area Chart in R using Plotly

September 24, 2016
By

In this post we’ll quickly show how to create radial stacked ara charts in plotly. We’ll use the AirPassengers dataset. Inspired by Mike Bostocks post: http://bl.ocks.org/mbostock/3048740 Radial Stacked Area Chart

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)