Widgets in IPython notebook and Plotly
What’s a widget? Widgets in IPython notebooks are controls that let you interactively explore a graph or dataset. As of versions >1.5.0, the Plotly Python package fully supports IPython widgets and...
View ArticleColor scales in Python for humans
Working with colors in Python is confusing: colorsys requires 0-1 decimal RGB / HSL / HSV values, and works only with single colors matplotlib is heavy if you only want color conversion and...
View Article3d surface plots with RStudio and Plotly
Recently you may have seen how to build a 3d surface plot with Plotly and IPython notebook. Here you can learn the basics of creating a 3d surface plot with Plotly in RStudio. Just add the Plotly...
View ArticleEasy Error Bars with R and Plotly
Error bars are a great way to visually represent variability of a dataset, and are easy to graph with Plotly and R! Error bars can be used to visualize standard deviations, standard errors or...
View ArticleGraph flight plans on a 3d globe with MATLAB Mapping Toolbox and Plotly
Traveling somewhere soon? Visualize your flight plan on a 3d globe with the Matlab Mapping Toolbox and Plotly! If you haven’t used Plotly with Matlab before it’s easy to get started by following these...
View ArticleCreate Colorful Graphs in R with RColorBrewer and Plotly
RColorBrewer is an R package that allows users to create colourful graphs with pre-made color palettes that visualize data in a clear and distinguishable manner. There are 3 categories of palettes:...
View ArticleDashboards in R with Shiny & Plotly
The Plotly-Shiny client has been updated with the 2.0 R client release. Read the new Plotly-Shiny client tutorial. Shiny is an R package that allows users to build interactive web applications easily...
View ArticleConnecting R to MySQL/MariaDB
Overview Relational databases, such as MySQL, organize data into tables consisting of rows and columns similarly to an R data.frame. While many beginners will be satisfied with R’s native RData...
View ArticleRegression Diagnostic Plots using R and Plotly
code{white-space: pre;} pre:not([class]) { background-color: white; } Plotly is a platform for making, editing, and sharing customizable and interactive graphs. Embedding Plotly graphs in a R-Markdown...
View ArticleVoronoi Diagrams in Plotly and R
Here’s a function which uses plotly’s R Library to overlay a voronoi diagram on top of a 2-D K-Means visualization. Visit the Getting Started section to get Plotly up and running using R. Here’s a...
View ArticlePortfolio Optimization using R and Plotly
In this post we’ll focus on showcasing Plotly’s WebGL capabilities by charting financial portfolios using an R package called PortfolioAnalytics. The package is a generic portfolo optimization...
View ArticleTufte style visualizations in R using Plotly
This post is inspired by Lukasz Piwek’s awesome Tufte in R post. We’ll try to replicate Tufte’s visualization practices in R using Plotly. You can read more about Edward Tufte here. One easy way to...
View ArticleCandlestick charts using Plotly and Quantmod
This post is dedicated to creating candlestick charts using Plotly’s R-API. For more information on candlestick charts visit www.stockcharts.com. We’ll also showcase Plotly’s awesome new range selector...
View ArticleTernary Plots in R using Plotly
Plotly now supports ternary plots and in this post we’ll showcase how to make such charts in R ! library(plotly) library(jsonlite) URL <-...
View ArticleShiny Apps Gallery using Plotly in R
Announcing the new shiny apps gallery that showcases the use of Plotly’s R API in Shiny Applications. You can visit the gallery here: https://plot.ly/r/shiny-gallery/ Apps showcase the use of a variety...
View ArticleGantt Charts in R using Plotly
Gantt Charts are a great way to keep track of timelines, progress of specific aspects of the project and resource utilization. Project Managers and anyone familiar with Microsoft Project would be...
View ArticleBullet Charts in R using Plotly
This post is inspired by Mike Bostock’s implementation of bullet charts – http://bl.ocks.org/mbostock/4061961 library(plotly) library(jsonlite) library(dplyr) # Read data df <- fromJSON(txt =...
View ArticleInteractive Heat Maps for R
In every statistical analysis, the first thing one should do is try and visualise the data before any modeling. In microarray studies, a common visualisation is a heatmap of gene expression data. In...
View ArticlePower Curves in R Using Plotly ggplot2 Library
When performing Student’s t-test to compare the difference in means between two groups, it is a useful exercise to determine the effect of unequal sample sizes in the comparison groups on power....
View Articleggplot2 docs completely remade in D3.js
Carson Sievert from Plotly recreated Hadley Wickam’s entire ggplot2 documentation using Plotly’s open-source ggplotly converter – http://ropensci.github.io/plotly/ggplot2/. This makes every ggplot2...
View Article