Blog Archives

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 »

Using cranlogs in R with Plotly

August 22, 2016
By

In this post we’ll use the cranlogs package to visualize the number of downloads for Plotly’s R API

Read more »

New feature: Dropdown menus in Plotly and R

August 10, 2016
By

In this post we’ll showcase the new dropdown menu button feature. It adds a layer of interactivity that is similar to shiny but supported within the plotly package. Adding new menu buttons is as simple as specifying the updatemenus parameter inside layout. Each dropdown menu needs to be a separate list with position parameters x

Read more »

Plotcon 2016 – Speakers and topics in R

July 30, 2016
By
Plotcon 2016 – Speakers and topics in R

Jenny Bryan Topic: Extract plotting intent from spreadsheets in R Bio: Jennifer Bryan is an Associate Professor in the Statistics Department and the Michael Smith Laboratories at the University of British Columbia in Vancouver. She’s a biostatistician specialized in genomics and takes a special interest and delight in data analysis and statistical computing. Kent Russell

Read more »

Candlestick charts using Quandl and Plotly

July 19, 2016
By

In this post we’ll show how to create candle stick charts using the new plotly 4.0 syntax. You can refer to this older post as well. This time we’ll use the Quandl package to retrieve stock data. See here for more details.

Read more »

Time series charts by the Economist in R using Plotly

July 11, 2016
By

In this post we’ll recreate two info graphics created by The Economist. The code uses the new Plotly 4.0 syntax. Note: Plotly 4.0 has not been officially released yet. You can download the dev version using Volume of google searches related to immigrating to Canada AIDS related Visualization

Read more »

Macroeconomic charts by the Fed using R and Plotly

July 4, 2016
By

In this post we’ll try to replicate some of the charts created by the Federal Reserve which visualize some well known macroeconomic indicators. We’ll also showcase the new Plotly 4.0 syntax. Key Macroeconomic Indicators Monitory Policy Transmission Nominal and Real Fed Funds Rate Some other examples:

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)