In this assignment we will create a plot with plotly package
December 29, 2016
In this assignment we will create a plot with plotly package
# Load libraries
library(dplyr)
library(plotly)
# Read data from CSV file
G2000<-read.csv("G2000.csv",header=TRUE)
# Summarize data country wise
G2000s<-summarise(
group_by(G2000,Country),
mMV=mean(Market.Value),
mSales=mean(Sales),
mProfits=mean(Profits),
mAssets=mean(Assets),
cComp=n())