Articles by Riddhiman

Creating interactive SVG tables in R

October 14, 2017 | Riddhiman

In this post we will explore how to make SVG tables in R using plotly. The tables are visually appealing and can be modified on the fly using simple drag and drop. Make sure you install the latest version of Plotly i.e. v 4.7.1.9 from Github using devtools::install_github("...
[Read more...]

Plotly charts in nteract notebooks using R

April 5, 2017 | Riddhiman

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 ... [Read more...]

News and Updates Surrounding plotly for R

March 19, 2017 | Riddhiman

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 ... [Read more...]

Plotly for R workshop at Plotcon 2017

March 15, 2017 | Riddhiman

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. ... [Read more...]

Native support for candlestick charts in Plotly and R

March 11, 2017 | Riddhiman

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 ... [Read more...]

Animations in R using Plotly

January 2, 2017 | Riddhiman

Like last year, lets have some fun with the Plotly package. We’ll try out Plotly’s new animation capabilities. [crayon-586941b022674144350101/] 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 | Riddhiman

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. [crayon-5822c30650161761327802/] Dataset The dataset we’ll use consists of the number of ... [Read more...]

Using the pipe operator in R with Plotly

October 18, 2016 | Riddhiman

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 ... [Read more...]

Visualizing ROC Curves in R using Plotly

October 15, 2016 | Riddhiman

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 ... [Read more...]

Radial Stacked Area Chart in R using Plotly

September 24, 2016 | Riddhiman

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 [crayon-57e6a72085a64536913742/] Radial Stacked Area Chart [Read more...]

New feature: Dropdown menus in Plotly and R

August 10, 2016 | Riddhiman

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 ... [Read more...]

Plotcon 2016 – Speakers and topics in R

July 30, 2016 | Riddhiman

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 ... [Read more...]

Candlestick charts using Quandl and Plotly

July 19, 2016 | Riddhiman

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. [crayon-578e6d0900fb6176475862/] [Read more...]

Time series charts by the Economist in R using Plotly

July 11, 2016 | Riddhiman

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 [crayon-57843430a16b1053690622/] Volume of google searches related to immigrating to Canada [crayon-57843430a16bf572296869/] ... [Read more...]

Macroeconomic charts by the Fed using R and Plotly

July 4, 2016 | Riddhiman

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 [crayon-577a78d381298688224087/] Monitory Policy Transmission [crayon-577a78d3812ab614491119/] Nominal and Real Fed Funds ... [Read more...]

Radial bar charts in R using Plotly

June 10, 2016 | Riddhiman

Creating a radial barchart is fairly easy using plotly. In this post we’ll focus on modifying a radial line chart to make it look like a bar chart so come up with a nice visualization for CO2 emissions. The visualization is inspired by this awesome chart. [crayon-575b9ada92214977293988/] [Read more...]

Trisurf Plots in R using Plotly

June 1, 2016 | Riddhiman

In this post we’ll show how to create Triangular Surface Plots in R. This post is based on timelyportfolio’s gist. Moebius Strip [crayon-574f957d4f6d8269686049/] 2D Surface over a disk [crayon-574f957d4f6f0642123440/] Chopper from python [crayon-574f957d4f712450395539/] [Read more...]
1 2

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)