Overview

Thinking about getting a master’s degree in data science? You may want to consider studying abroad to save some money. The chart below shows the distribution of various programs’ annual tuition cost.

library(plotly)
## Warning: package 'plotly' was built under R version 3.3.1
## 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
#School Costs
dollarConversion <- 1.09
dollarConversionHK <- 0.13
school.name <- c("Paris Telecom", "Essec", "Paris Descartes", "Carnegie Mellon", "WPI", "NYU", "UMass Amherst", "University of Hong Kong")
annual.cost <- c((17000/15*12*dollarConversion),20000*dollarConversion, 300*dollarConversion,45000, 25344, 25357, 16000, 55000*dollarConversionHK)
country <- c(rep("France", 3), rep("USA",4), rep("China",1))

df <- data.frame(school.name, country, annual.cost)

plot <- plot_ly(data=df, y = annual.cost, color = country, type ="box")

Annual Program Cost Distribution By Country

## Warning in arrange_impl(.data, dots): '.Random.seed' is not an integer
## vector but of type 'NULL', so ignored