Student Details

Part I - Data Visualisation

Taken from: Plotly

Part II - Deconstruct

The graph above has a title where does the money go but it doesnt give an exact comparison for answering that question in a clear way. With stacked bar chart for so many categories(Teams) it looks more cluttered rather than being informative in terms of visualisation. It deceives the viewer and distorts the story behind the data. The gaps in the stacked bar chart makes it more difficult to know the range of salary for each player as per their position in the team. It becomes difficult to compare the salary difference being paid by each team for their players as per their positions in respective teams. With the dark colours being used to represent the player positions for so many different teams the actual message of the data visualisation seems to get supressed.

Part III - Reconstruct

# Show your code!
Samp <- read_csv("D:/Data Visualisation/Assignment1/Samp.csv")
Samp$Position <- factor(Samp$Position,
levels=c('Right_Winger','Left_Winger','Goaltender','Defenseman','Center'),ordered = TRUE)
p3 <- ggplot(data = Samp,aes(x=Position,y=Amount,color=Position))+geom_boxplot(outlier.size = 0,fill=NA)+
geom_point(position = position_jitterdodge(dodge.width=0.3),alpha=0.3)+labs (title="Salary for each player as per position in teams for NHL(2011)",
y="Amount(Salary in million USD)",x="Position in team")+theme_bw()+theme(legend.position = "none")
p3

The graph above is using the overlaying feature to serve the data bit by bit to its full potential, trying to send a message across with the visualisation that Defenseman gets highest pay amongst all team positions followed by centreman.The left winger and right winger gets paid almost equivalent salaries whereas Goaltender is paid least among the rest within all teams for the data under investigation for the year 2011 The clear answer one can get through this box plot with the median salary across all team positions. Who gets paid how much as per their position in the teams.With this visualisation we easily have salaries information for all team position and its not deceiving in terms of sending the message required.According to Trifecta check it answers the question with the data given and a simple easy to read/understand visualisation.The title of the chart describes the data and addresses the question well.