October 14, 2018

Plotly Project

First Slide

  • I have used the Iris dataset for my analyis.
  • I have created 3 different plots, each plot increasing in the number of dimensions and complexity.
  • Plot 1 is a 2D scatterplot with species being the 3rd dimension, Plot 2 is a 3D plot with Petal Length being the 4th dimension and finally Plot 3 has 5 different dimensions.

Slide With Code

## Loading required package: ggplot2
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
## [1] "Sepal.Length" "Sepal.Width"  "Petal.Length" "Petal.Width" 
## [5] "Species"

Slide With Plot

## Warning: `line.width` does not currently support multiple values.

## Warning: `line.width` does not currently support multiple values.

## Warning: `line.width` does not currently support multiple values.